CBSE Class 12 Informatics Practices Question 32 of 79

Database Query using SQL — Question 3

Back to all questions
3
Question

Question 3

Which of the following clauses is used to sort the result set?

  1. SORT BY
  2. GROUP BY
  3. ARRANGE BY
  4. ORDER BY
Answer

ORDER BY

Reason — The SQL ORDER BY clause is used to sort data in ascending or descending order based on one or more columns.