The Accumulator
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Interview Prompt
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.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision