Infant Mortality
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
We run periodic health checks on every service and want to catch the ones that were troubled from birth. For services whose history begins early in 2026, surface the ones failing an outsized share of their checks, along with the share that came back as something other than healthy.
Summary
The youngest ones break first.
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