The Transaction Breakdown
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
Produce a single-row snapshot showing transaction counts at three time horizons: last 30 days, last 180 days, and all-time. One row, three numbers, used to illustrate acceleration trends on the exec dashboard.
Summary
Multiple time windows. One query. The business wants all of it at once.
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