CBSE Class 12 Computer Science Question 32 of 91

Relational Database and SQL — Question 10

Back to all questions
10
Question

Question 10

The ............... clause allows sorting of query results by one or more columns.

  1. ALL
  2. DISTINCT
  3. GROUP BY
  4. ORDER BY
Answer

ORDER BY

Reason — The SQL ORDER BY clause is used to sort the result-set in ascending or descending order by one or more columns in a table.