SQL · Question 18 · Easy

If ORDER BY is used without ASC or DESC, in which order are the rows sorted?

  1. Descending order
  2. Insertion order
  3. Random order
  4. Ascending order
Answer and explanation

Answer: D. Ascending order

Explanation: ASC is the default sort direction, so ORDER BY amount is the same as ORDER BY amount ASC.

Previous: In a LIKE pattern, which wildcard matches exactly one character? · Next: Table Orders: order_id | customer | city | amount 101 | Meera | Chennai | 1200…

Practise sql

Try a fresh set of sql questions with an explanation after every answer, free and without signing up: SQL practice. Or sit a full placement mock test.

More sql questions

More technical & programming practice

Operating Systems · Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge