Above the Line
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
A cloud finance team wants to know how many of their services rack up a real monthly bill, counting a service the moment its total spend for a month reaches $100. Month by month, report the percentage of services that cross that line, ignoring billing entries that have no date.
Summary
The budget line is here. How many crossed it?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.