Loading...
Active User Revenue for April
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- junior
Problem
The finance team is reconciling April 2026 revenue and needs a total that only includes transactions from users with active accounts. Revenue for a transaction is calculated as quantity multiplied by the transaction amount. Return a single total.
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.