The Three-Way Report
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L5
Interview Prompt
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.
Summary
Three tables. One summary. Every piece depends on the others.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision