engineering computer science MCQ #899

Which SQL clause is used to sort the result set in ascending or descending order?

engineering computer science MCQ #899

  1. Question 1

    Q1. Which SQL clause is used to sort the result set in ascending or descending order?

    • A) GROUP BY
    • B) HAVING
    • C) ORDER BY
    • D) WHERE

    Answer: ORDER BY

    Explanation: ORDER BY clause sorts the result set in ascending or descending order based on specified columns.