Sort the Answers

Sort results by one or more columns.

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