Fresh Ink
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
- L3
Interview Prompt
We keep a table of repository commits, each stamped with its author and commit date. Counting only commits from the three most recent calendar years present in the data (the year of the latest commit and the two years before it), find the ten authors with the most commits. Return each author with their commit count, most active first.
Summary
Recent activity is the only activity that counts. Name the busiest hands.
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