Loading...

Pipeline Completion Rate

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

For each pipeline, calculate the average completion percentage, where completion is the ratio of rows out to rows in. Exclude runs where rows in is zero. Show the pipeline name and its average completion percentage.

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.