Median Failure Rate by Table
A hard 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
- hard
- Seniority
- L5
Interview Prompt
The data-quality team's triage sheet keeps flagging the same tables in `dq_checks`, yet a few catastrophic runs drag each table's average failure percentage far from what a typical check on it sees. Report every table with the median `fail_pct` across its checks.
Summary
Half the tables fail more than this.
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