Which SQL clause sorts the result of a query?
-
A
SORT BY
-
B
ARRANGE BY
-
C
ORDER BY
Correct answer
-
D
GROUP BY
Correct answer
C. ORDER BY
14 views
Explanation
ORDER BY sorts rows, ascending by default; DESC reverses the order.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ