Monthly Revenue Comparison
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
Compare revenue between April and May 2026. For each month, show the total revenue, number of transactions, and average transaction value, chronologically.
Summary
Last month versus this month. Per product.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.