Loading...

Top Repos by Commit Volume

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

Our CI system tracks builds per repository. For each repo that has CI build history, count total commits and rank them. Return repos in the top 5 tiers by commit volume, where tied repos share the same rank. Show the repository name and commit count.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.