Regional Order Summary
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
The ops team is preparing a regional performance recap. Skip orders with no region on file. For every region with at least five orders, show the region, its order count, and its total profit. Rank from highest total profit down, breaking ties alphabetically by region.
Summary
Region by region. The order numbers 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.