What sort order does ORDER BY apply when no direction is written?
-
A
Primary key order
-
B
Ascending
Correct answer
-
C
Descending
-
D
Insertion order
Correct answer
B. Ascending
14 views
Explanation
ORDER BY defaults to ASC when no direction keyword is supplied.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ