Pipeline Overhead by Environment
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The data platform team is comparing throughput overhead across pipeline states. Calculate the average absolute difference between rows in and rows out for successful pipelines and for running pipelines separately, then return the absolute gap between those two averages as a single value. Treat 'success' case-insensitively (so 'success' and 'Success' both count).
Summary
Production overhead versus staging.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.