CBSE Class 12 Informatics Practices Question 24 of 90

Querying Using SQL — Question 2

Back to all questions
2
Question

Question 2

Which one of the following would arrange the rows in ascending order in SQL ?

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

ORDER BY

Reason — The ORDER BY clause in SQL is used to sort the result set in either ascending or descending order.