Multiple choice

Which one of the following sorts rows in SQL?

  1. CUBE BY

  2. GROUP BY

  3. ROLLUP BY

  4. HAVING BY

  5. ORDER BY

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

SQL's ORDER BY clause organizes data in alphabetic or numeric order. Consequently, similar values sort together in what appear to be groups. However, the apparent groups are a result of the sort