Spending by Account Status
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
Show each account status with its total number of transactions, the count of unique users, and the total revenue. Include users who have not made any transactions. Only show account statuses with at least 5 transactions.
Summary
Segment user spending and activity by account status across the platform
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.