Loading...

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
junior

Problem

Compare revenue between April and May 2026. For each month, show the total revenue, number of transactions, and average transaction value, chronologically.

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.