Multiple choice technology databases

Which SQL keyword is used to sort the result-set?

  1. SORT

  2. SORT BY

  3. ORDER

  4. ORDER BY

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

ORDER BY is the SQL clause for sorting result sets. SORT is not a valid SQL keyword - sorting requires the ORDER BY clause, optionally followed by ASC or DESC.