Previous Topic: DescriptionNext Topic: Description


ORDER BY Clause

The ORDER BY clause is a component of a select-statement.

Following is the syntax diagram for the ORDER BY clause:

              ┌─ , ───────────────────────────┐
►►─ ORDER BY ─▼─┬─ column-name ─┬─┬─────────┬─┴───────────────────────────────►◄
                └─ integer ─────┘ ├─ ASC ◄ ─┤
                                  └─ DESC ──┘