The Accumulator
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
The FinOps dashboard needs a daily cloud cost time series with a running cumulative total so stakeholders can see how spending accumulates through the billing period. Show each billing date, its daily spend, and the cumulative spend through that date.
Summary
A total that builds row by row. Structure the query to match.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.