unnested
Explore
Pro
Sign in
Learn SQL
Sorting
15 questions
Output
Easy
Sorting a text column
Output
Easy
Primary key vs. tiebreaker sort
Output
Easy
Filtering before you sort
Output
Easy
Which way does DESC go?
Output
Easy
Reading a salary sort
Sign in
to save your progress.
Output
Easy
Multi-column sort with different directions
Output
Medium
Sort by a computed value
Output
Medium
Forcing NULLs to the front
Multiple choice
Medium
Where does NULL land in a sort?
Multiple choice
Medium
What does ORDER BY 2 sort on?
Output
Medium
Who are the top two scorers?
Output
Medium
Sort by name length
Multiple choice
Medium
Adding a column shifts the sort
Output
Medium
Lowest-stock products first
Multiple choice
Hard
Result order without ORDER BY