A Gentle Introduction to

SQL

META DATA

Information about the database: what tables exist, what are the column headings, what database is in use.

What are my tables?| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
What are the columns of the cia table?| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
Get the first 10 rows of the gisq.cia table.| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
Get the 11th to the 20th rows of the cia table - by population.| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
What version of the software am I using?| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
What is the syntax to view structure of table?| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
How can you determine the primary key using SQL?| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |
Return a sequential record count for all records returned| SQLite | DB2 | Access | Postgres | Oracle | SQL Server | MySQL | Mimer | Sybase |