Completion Rate
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
Operations wants to compare how cleanly each region closes out orders. For each region, compute the percentage of orders whose status is 'Completed', skipping rows where region is NULL. Return the region and that completion percentage.
Summary
Not every region closes orders cleanly. The percentages tell the story.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.