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 cloud spend across 2026, comparing the first half of the year against the second. For each provider, show how much second-half spend rose above the first-half spend.
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