The Standings
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Problem
Strategy wants a report card for every product category that has actually sold something. For each one, total up the revenue and the units moved, then give it a standing by revenue with the biggest earners on top and revenue ties sharing a standing.
Summary
Every category earns its place on the board. Find where each one lands.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.