How can we sort employees by salary?
ORDER BY sorts the returned query result set in ascending order by default.
Alphabetical sorting, lowest-to-highest numerical sequencing, chronological timeline ordering.
SELECT name, salary
FROM employees
ORDER BY salary;Practice typing production-grade SQL code for ORDER BY.