November 2003
Intermediate to advanced
816 pages
14h 53m
English
The SELECT command retrieves data from the database allowing the selection of rows, columns and tables.
The complete SELECT statement syntax is shown below. Following this material the SELECT statement parameters will be described for each clause in turn.
SELECT [ DISTINCT | ALL ] [ TOP n [ PERCENT ] [ WITH TIES ] ] < select_list > [ INTO new_table ] [ FROM { < table_source > } [ ,...n ] ] [ WHERE < search_condition > | < old_outer_join > ] [ GROUP BY [ ALL ] group_by_expression [ ,...n ] [ WITH {CUBE | ROLLUP } ] ] [ HAVING < search_condition > ] [ ORDER BY {column_name_or_alias [ ASC | DESC ] | column_position [ ASC | DESC ] } [ ,...n] ] [ COMPUTE { { AVG | COUNT | MAX | MIN | STDEV | STDEVP ...
Read now
Unlock full access