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. Among services whose earliest check falls in Q1 2026, surface those where more than 20% of all their checks came back as something other than healthy, along with that failure rate.
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