Loading...
Build Success Rate by Trigger
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- junior, mid
Problem
The CI/CD team suspects that manual triggers fail more often than automated ones. For each trigger type, show the total number of builds and the fraction with a status of 'success', expressed as a decimal.
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.