Learn SQL
ORDER BY - More use cases
22.3
Lesson

Order distinct courses alphabetically

Find all distinct courses students are enrolled in and sort them in the alphabetical order.

This means ORDER BY can also be used on modified data (in this case distinctCourse) from one or more columns, and not just on the columns themselves.