... |
Usage: |
{code:lang=SQL}ORDER BY expression \[ASC|DESC] \[NULLS \(FIRST|LAST)], ...{code} |
{code:lang=SQL}ORDER BY expression [ASC|DESC] [NULLS (FIRST|LAST)], ...{code} |
Syntax Rules: |
... |
The ORDER BY clause specifies how records should be sorted. The options are ASC (ascending) and DESC (descending).
Usage:
ORDER BY expression [ASC|DESC] [NULLS (FIRST|LAST)], ...
Syntax Rules:
![]() | Warning The use of positional ordering is no longer supported by the ANSI SQL standard and is a deprecated feature in Teiid. It is preferable to use alias names in the order by clause. |