Warehouse Operations Analytics · Mission 4 of 30Starter

Inventory snapshot top 10

ORDER BY with LIMIT

The Brief

Sam ParkSlotting Analystwarehouse-ops

Top 10 inventory positions by qty_on_hand. Show position_id, sku_id, zone_id, qty_on_hand.

You'll practice

LIMITORDER BY

Tables & columns available

fact_inventory_positionsfact7 columns
ColumnTypeKey
position_idINTPK
sku_idINTFK → dim_skus
zone_idINTFK → dim_zones
snapshot_dateTEXT
qty_on_handINT
qty_allocatedINT
qty_availableINT

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

Sort the inventory snapshot by quantity, largest first, then cap the result set.

Hint 2

LIMIT 10.

Hint 3

Project four columns.