Loading...

Transaction Revenue by Customer

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

Domain
SQL
Difficulty
medium
Seniority
junior, mid

Problem

Compute March 2026 transaction totals per customer. Only include users who made at least one transaction that month, sorted from highest spender to lowest.

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.