The Slow Build
A medium SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Interview Prompt
Each row of transactions is one sale with its amount and date. For 2026, show each month's revenue alongside the average monthly revenue across that month and every earlier month of the year.
Summary
Month over month, the number grows. Track how the average moves with it.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision