Lazada's marketplace ops team wants a late-shipment audit across sellers. You have one table of orders with a promised ship date and an actual one (some orders haven't shipped yet at all). Four sequential steps: flag late orders, roll them up into each seller's late rate, rank sellers with a window function, then name the worst offenders with real volume behind them.
Schema
| order_id | SERIAL |
| seller_id | INT |
| promised_ship_date | DATE |
| actual_ship_date | DATE |
4 steps
Basic
Multi-step case rounds — several questions on one shared dataset — unlock with a Basic plan.
RM 25/mo · cancel anytime
Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.