One Year to the Next
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Interview Prompt
We track user signups and want to see whether the yearly numbers are climbing or falling. For each signup year, report how many users signed up, the prior year's total, and the percentage change from that prior year.
Summary
This year versus last year. Growing or shrinking?
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