Loading...
Multi-Table Report
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- senior
Problem
Combine session engagement with transaction revenue into a single user report. For each user, show their name, total session count, and total transaction amount. Users with zero sessions or zero transactions must still appear; the report cannot silently drop inactive users.
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.