SQL Tutorial
SQL Tutorial
asp
https://www.curejoy.com/content/ultimate-guide-deep-bodyweight-squats/?utm_medium=IAR-
FEB20&utm_source=FBFeed&utm_campaign=FBAyurvedaDeep&fbclid=IwAR0M84-wjTrs5-
4QUVjanBjdVHOlLvOx6_gjLpPwxfSuMbbkRUwXoeLrxp4
SQL Tutorial
SQL is a standard language for storing, manipulating and retrieving data in databases.
Our SQL tutorial will teach you how to use SQL in: MySQL, SQL Server, MS Access, Oracle, Sybase,
Informix, Postgres, and other database systems.
What is SQL?
SQL stands for Structured Query Language.
SQL lets you access and manipulate databases.
SQL became a standard of the American National Standards Institute (ANSI)in 1986, and of the International
Organization for Standardization (ISO) in1987.
RDBMS
RDBMS stands for Relational Database Management System.
RDBMS is the basis for SQL, and for all modern database systems such as MS SQL Server, IBM DB2, Oracle,
MySQL, and Microsoft Access.
The data in RDBMS is stored in database objects called tables. A table is a collection of related data entries and
it consists of columns and rows.
Every table is broken up into smaller entities called fields. The fields in the Customers table consist of
CustomerID, CustomerName, ContactName, Address, City, PostalCode and Country. A field is a column in a
table that is designed to maintain specific information about every record in the table.
A record, also called a row, is each individual entry that exists in a table. For example, there are 91 records in
the above Customers table. A record is a horizontal entity in a table.
A column is a vertical entity in a table that contains all information associated with a specific field in a table.
SQL Syntax
Database Tables
A database most often contains one or more tables. Each table is identified by a name (e.g. "Customers" or
"Orders"). Tables contain records (rows) with data.
SQL Statements
Most of the actions you need to perform on a database are done with SQL statements.
The following SQL statement selects all the records in the "Customers" table:
SELECT * FROM Customers;
Keep in Mind That...
SQL keywords are NOT case sensitive: select is the same as SELECT