Warehouse Operations Analytics · Mission 6 of 30Easy

SKUs by velocity class

GROUP BY with COUNT

The Brief

Sam ParkSlotting Analystwarehouse-ops

How many SKUs are in each velocity class? Show velocity_class and sku_count.

You'll practice

GROUP BYCOUNT

Tables & columns available

dim_skusdim6 columns
ColumnTypeKey
sku_idINTPK
sku_codeTEXT
sku_nameTEXT
categoryTEXT
velocity_classTEXT
current_zone_idINTFK → dim_zones

Hints (3)

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

Hint 1

Bucket SKUs by their velocity class — there's a clause that partitions rows before counting.

Hint 2

COUNT(*).

Hint 3

Alias the count.