The Turning Tide
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
- L4
Interview Prompt
Finance is reviewing whether cloud spend climbed or fell across 2026, comparing the first half (Jan through Jun) against the second half (Jul through Dec). For each provider, show how much second-half spend rose above the first half, biggest increase first.
Summary
Two time windows. Did the cloud bill go up or down?
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