The Slow Build
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
For each month in 2026, show the total revenue and a running average of all months up to and including the current one, rounded to the nearest whole number.
Summary
Month over month, the number grows. Track how the average moves with 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.