Getting everything ready for you…

Loading courses, problems and your progress. This takes just a moment.

0s

SQL practice › Sorting

Salaries High to Low

Easy · Sorting

Return name and salary of all employees, from the highest salary to the lowest. If two salaries are equal, order those employees by name (A to Z).

Hint

ORDER BY can take more than one column.

Write your query on this page — it runs against the sample company database in your browser and is checked instantly.

Next problem: Top 3 Salaries