Loading interview...

Top Committers in 2025

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

Within repo_commits scoped to year 2025, group by strftime('%Y-%m', commit_at) and rank commits by added descending with a no-gaps rank. Keep rows with rank 10 or less. Per author, count how many of their rows land in that top-10 set across all months. Return one row: the author with the highest count and that count. Break ties alphabetically by author.

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