Operations & Supply Chain Analytics · Mission 5 of 30Starter

Show the 5 most recent purchase orders

ORDER BY DESC + LIMIT — recency-anchored peek.

The Brief

Maya ChenOps Directorslack-dm

What were the 5 most recent POs we placed? Pull `po_number`, `order_date`, and `qty_ordered` from `fact_purchase_orders`. Sort by order date, most recent first, top 5.

You'll practice

ORDER BY DESCLIMITRecency peek

Tables & columns available

fact_purchase_ordersfact12 columns
ColumnTypeKey
po_idINTPK
po_numberTEXT
sku_idINTFK → dim_skus
supplier_idINTFK → dim_suppliers
warehouse_idINTFK → dim_warehouses
order_dateTEXT
expected_arrivalTEXT
actual_arrivalTEXT
qty_orderedINT
qty_receivedINT
unit_costREAL
statusTEXT

Hints (3)

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

Hint 1

One table: `fact_purchase_orders`. Three columns: `po_number`, `order_date`, `qty_ordered`.

Hint 2

ORDER BY `order_date` DESC, then LIMIT 5.

Hint 3

Most recent order date in the seed is around 2026-04-25.