Above the Line
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
- L4
Interview Prompt
A cloud finance team wants to know how many of their services rack up a real monthly bill, counting a service the moment its total spend for a month reaches $100. Month by month, report the percentage of services that cross that line, ignoring billing entries that have no date.
Summary
The budget line is here. How many crossed it?
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