Loading...

Repository Commit Ranking

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

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

Sum the lines added per repository across all commits, then rank them with no gaps in ranking. Show repo name, total lines added, and rank from highest to lowest.

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.