Loading interview...
Merge-Triggered Builds 2026
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
Interview Prompt
Scope to ci_builds rows whose built_at year equals 2026 AND trigger != 'manual' AND branch is either 'main' or 'release'. For each of the two branches, return one row with the branch label, count of builds (as integer), the same count cast to REAL, and AVG(dur_secs). Return two rows sorted alphabetically by branch.
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