1. Home
  2. Data Science
  3. SQL for Data Analysis
  4. Which SQL clause sorts the result of a query?

Added 30 Nov -0001

Which SQL clause sorts the result of a query?

  1. SORT BY
  2. ARRANGE BY
  3. ORDER BY Correct answer
  4. GROUP BY

Correct answer

C. ORDER BY

14 views

MCQSEXAM

Explanation

ORDER BY sorts rows, ascending by default; DESC reverses the order.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More SQL for Data Analysis MCQs

Practise all SQL for Data Analysis MCQs

Similar MCQs