7

Order by Salary

EasyORDER BYsorting

Problem Description

Write a SQL query to list all employees ordered by salary from highest to lowest.

Expected Columns

  • name
  • salary

Example Output

| name | salary | |------|--------| | Karthik Sundaram | 95000 | | Ananya Singh | 90000 | | ... | ... |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints
//#7 Order by Salary
Easy

Loading schema...

Loading editor...

No results yet

Run a query to see results