Menu▾
LazadaBasic

Lazada — Seller Late-Shipment Audit

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

▸lazada_orders
order_idSERIAL
seller_idINT
promised_ship_dateDATE
actual_ship_dateDATE

4 steps

  1. 1Flag each shipped order as on-time or late
  2. 2Compute each seller's late-shipment rate
  3. 3Rank sellers by late rate with a window function
  4. 4Name the sellers ops should suspend first

Basic

This is a Basic take-home

Multi-step case rounds — several questions on one shared dataset — unlock with a Basic plan.

See Basic plans

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.