8

Limit Results

EasyLIMITORDER BY

Problem Description

Write a SQL query to get the top 5 highest paid employees.

Expected Columns

  • name
  • salary

Example Output

| name | salary | |------|--------| | Karthik Sundaram | 95000 | | Ananya Singh | 90000 | | Aarav Sharma | 85000 | | Aditya Verma | 85000 | | Rohan Joshi | 82000 |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints
//#8 Limit Results
Easy

Loading schema...

Loading editor...

No results yet

Run a query to see results