Demand Planning & Forecasting Analytics · Mission 4 of 30Starter

Recent actuals

WHERE with date filter and LIMIT

The Brief

Devi IyerDemand Analystdemand-planning

Pull the 20 most recent actuals from `fact_actuals`. Show sku_id, period_date, units_sold.

You'll practice

LIMITWHERE

Tables & columns available

fact_actualsfact6 columns
ColumnTypeKey
actual_idINTPK
sku_idINTFK → dim_skus
location_idINTFK → dim_locations
period_dateTEXT
units_soldINT
revenueREAL

Hints (3)

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

Hint 1

Sort by date with the freshest first, then cap the result.

Hint 2

LIMIT 20.

Hint 3

Three columns.