SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Department Top Three Salaries

Unsolved

Return every employee whose salary is among the top three distinct salary levels in their department. Include ties at the third rank.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Amazon🏢 Netflix

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM Department
Full source dataset
2 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine