Last Migration Record
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Interview Prompt
We need to verify the latest schema migration applied to the database. Find the most recently applied migration, identified by the largest migration ID. Show all available fields: migration ID, version, status, applied date, rollback info, duration, author, and database name.
Summary
The most recent migration. Is it the last?
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