Sorting
3 / 15
EasyOutput prediction

ORDER BY combined with WHERE

Given this table (orders):

idcustomeramount
1Alice200
2Bob500
3Alice350
4Carol150

What does this query return?

SELECT customer, amount FROM orders WHERE amount > 200 ORDER BY amount DESC;

← → arrow keys to navigate

Sign in to save your progress.

ORDER BY combined with WHERE - SQL Sorting Quiz | Unnested