Live Wire
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 change to a feature flag is written as a new row, so a single flag shows up many times across its history. For each owning team, find the flag they touched most recently and when that change landed, with the most recently active team first.
Summary
The last switch each team flipped.
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