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
- 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