Loading...

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
mid

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.

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.