High Earners
Easy
Filtering & Sorting
Write a query to list the name and salary of every employee earning more than 50000, ordered by salary from highest to lowest.
Table schema
Employees(id INT PRIMARY KEY, name VARCHAR(50), salary INT)Sample data
id | name | salary
1 | Alice | 70000
2 | Bob | 45000
3 | Carol | 60000
4 | Dan | 50000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.