RevOps & Sales Analytics Path · Mission 2 of 30Starter

What stages exist in the pipeline?

DISTINCT to enumerate the categorical values in a column

The Brief

Lina PetrovSales Operations Managersales-ops

Quick sanity-check before I write tomorrow's forecast report. Give me every distinct `stage` that appears in `revops_opportunities`. Just the one column. Raw values — don't normalize, I want to see exactly how Salesforce stored them. If Marketing is pushing some non-standard stage name through on inbound leads I want to catch it now.

You'll practice

DISTINCTExploration

Tables & columns available

revops_opportunitiesfact10 columns
ColumnTypeKey
opportunity_idINTPK
account_idINTFK → revops_accounts
owner_user_idINTFK → revops_users
nameTEXT
stageTEXT
amountREAL
close_dateTEXT
created_dateTEXT
is_closedINT
is_wonINT

Hints (3)

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

Hint 1

Stages repeat across thousands of opportunity rows — you want the unique list, not a count. Think about the SQL keyword that returns only distinct values.

Hint 2

Do NOT apply `LOWER()` or `TRIM()` — Lina wants raw stored values so casing drift from Salesforce picklist imports surfaces.

Hint 3

You should see 7 rows covering the full sales pipeline from prospecting through closed.