Take home: analyze a case about why there are negative customer and shopper experiences at a new warehouse.
Using the supplied warehouses, orders, and feedback tables, write a query that summarizes operational performance and negative experience rates for new warehouses. Include warehouses even when they have no completed orders or feedback.
Output
- One row per new warehouse.
- Columns:
warehouse_name, completed_orders, avg_delay_minutes, delayed_order_rate, customer_negative_rate, and shopper_negative_rate.
- Rates are percentages, rounded to two decimal places. Treat missing activity as zero where appropriate.
- Sort by
customer_negative_rate descending, shopper_negative_rate descending, then warehouse_name ascending.