Against the Clock
An easy 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
- easy
- Seniority
- L5
Interview Prompt
The on-call team's job report keeps breaking on `batch_jobs` rows that violate its two rules: every job should have an `ended` time by now, and no job should end before it `started`. List the jobs that break either rule with their `job_id`, `job_name` and runtime in minutes.
Summary
Promised by noon. Delivered at midnight.
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