DataDriven
LearnPracticeInterviewDiscussDailyJobs

Stumbling Out of the Gate

A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
medium
Seniority
L4

Interview Prompt

Every model version goes through a series of training runs. We want to know how often a version stumbles right out of the gate. For each model version (a unique combination of mdl_name and version), find its very first training run, ordered by train_at. Of those first runs, what percentage ended with a status of 'failed' (status casing is inconsistent in the data)? Only count runs that actually recorded an accuracy score, since a null accuracy means the run never produced a usable metric and should not be considered a real first run. Return a single percentage.

Summary

Some model versions never recover from a bad opening run.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge