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
- L3
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.
Summary
One month, every customer, every dollar accounted for.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.