Loading interview...

Latest Migration Output per Author

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

Interview Prompt

The data pipeline team needs each author's most recent migration that has a corresponding batch job. For each author, find their latest migration (by applied date) where the migr_id matches a job_id in batch_jobs, then sum the rows completed. Return the author and their total rows.

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