Successful Build Duration by Repository
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
For each repository, sum the total duration of successful builds in January 2026. Repositories with no successful builds should still appear with a total of zero. Return the repository name and total duration in seconds.
Summary
CI throughput, repo by repo.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.