Databases · Junior · Question 17 of 75

How do you get the 10 newest orders?

Explanation

Without ORDER BY the order of rows is not guaranteed, so LIMIT alone returns any 10 rows. TOP is SQL Server syntax.

Further reading

Problem with a question

Databases · Junior · question 17

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz