Learn SQL
ORDER BY - More use cases
22.1
Lesson

Order students alphabetically

Find id and name of students in the alphabetical order of names.

If you observe the result, when we use a string field (in this case, name) in ORDER BY clause, it results in sorting in the alphabetical order by default.