Demand Planning & Forecasting Analytics · Mission 1 of 30Starter

SKUs by lifecycle

GROUP BY with COUNT

The Brief

Lena ParkDemand Planning Managerdemand-planning

Welcome aboard. Quick orient — how many SKUs are in each lifecycle (NPI, ACTIVE, EOL)? Show lifecycle and sku_count.

You'll practice

GROUP BYCOUNT

Tables & columns available

dim_skusdim7 columns
ColumnTypeKey
sku_idINTPK
sku_codeTEXT
sku_nameTEXT
categoryTEXT
lifecycleTEXT
abc_classTEXT
xyz_classTEXT

Hints (3)

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

Hint 1

There's a categorical column on each SKU that buckets it into a phase — partition by that, then count.

Hint 2

COUNT(*).

Hint 3

Two columns.