Single Table SELECT Statement Syntax
Here is the generic SELECT statement, as it is defined by the SQL99 standard, for selecting data from a single table. The query includes the SELECT command, followed by the list of identifiers (table or view columns); then comes the mandatory FROM clause that contains names of the tables, from which these columns are selected. The rest of the clause is optional, used to increase selectiveness of the query, as well as add some ordering capabilities. All of these pieces make up the complete SELECT statement.
SELECT [DISTINCT] [<qualifier>.]<column_name> |
FROM <table_or_view_name> |
[GROUP BY [<qualifier>.]<column_name>,...
[ORDER_BY <column_name> |
[ASC | DESC],...
Of course, the statements that you would run against the three leading RDBMS do differ, both in syntax and usage.