Where the Money Pools
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Problem
Finance is reviewing cloud spend region by region and wants to know where the money concentrates. For each region, find the single service responsible for the most spend along with that total, biggest spender first.
Summary
Every region has one line item that dwarfs the rest. Find it.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.