The Weak Link
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The platform team is reviewing CI reliability and wants to know which repositories break the most. For each repository, return the percentage of its builds that ended in a 'failed' status, rounded to two decimals and worst first, breaking any ties by repository name.
Summary
Build failures happen. Which repos break the most?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.