Sort the Answers
Sort results by one or more columns.
We'll cover the following
You’ve picked what to show and filtered what matters. Now let’s sort it—oldest to youngest, highest to lowest, A to Z.
Goal
You’ll aim to:
Sort rows using
ORDER BY
.Choose ascending (
ASC
) or descending (DESC
) order.
Tables
Let’s use the following table in this lesson:
The people
table
Get hands-on with 1400+ tech skills courses.