Three Peaks
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
For each team, surface the three highest unique monthly cost amounts, listed alphabetically by team and then by amount from highest to lowest.
Summary
Every team's steepest months, and nothing below them.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.