
Syntax
SELECT <DISTINCT | UNIQUE> object-item-1 <, object-item-2, …>
<INTO macro-variable-specification-1 <, macro-variable-specification-2, …>>
FROM from-list
<WHERE sql-expression>
<GROUP BY group-by-item-1 <, group-by-item-2, …>>
<HAVING sql-expression>
<ORDER BY order-by-item-1 <, order-by-item-2 <ASC | DESC>, …>>;
SELECT Clause
Lists the columns that will appear in the output.
See
“Using Column Aliases” on page 146
“column-definition” on page 320
“Example 1: Creating a Table and Inserting Data into It” on page 269
“Example 2: Creating a Table from a Query's Result” on page 271
Syntax
SELECT <DISTINCT> object-item-1 <, object-item-2, …>
Required Arguments ...