Loading...

Cumulative Monthly Revenue Avg

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
mid

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.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.