Marketing Analytics Path · Mission 3 of 25Starter

How many emails did we send?

Use COUNT to aggregate rows in a fact table

Back to Marketing Analytics

The Brief

Sarah KimVP of Marketingmarketing-analytics

Quick question — what's the total number of email sends we have on record? I need one number for the exec summary.

You'll practice

COUNTAggregation

Tables available

fact_sends

Hints (3)

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

Hint 1

Each row in `fact_sends` represents one email sent. Use `COUNT(*)` to count all rows

Hint 2

Alias your result: `COUNT(*) AS total_sends` so the output column has a clear name

Hint 3

You should get a single row with one number. If you're getting multiple rows, you might have an accidental GROUP BY