Credit Risk & Banking Path · Mission 2 of 30Starter

What products do we book?

DISTINCT to enumerate the values of a categorical column

Back to Credit Risk & Banking

The Brief

Marcus WellerChief Data Officerdata-platform

Before we wire any dashboards, I need the definitive product list. Give me every distinct `product_type` that appears in `banking_accounts`. Just the one column. Raw values — don't normalize, I want to see the casing as it's actually stored.

You'll practice

DISTINCTExploration

Tables & columns available

banking_accountsdim8 columns
ColumnTypeKey
account_idINTPK
customer_idINTFK → banking_customers
product_typeTEXT
open_dateTEXT
close_dateTEXT
credit_limitREAL
current_ficoINT
statusTEXT

Hints (3)

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

Hint 1

Product types repeat across thousands of account 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()` — Marcus wants the raw stored values to spot any casing drift from a source-system mismatch.

Hint 3

DISTINCT on the product column collapses thousands of account rows down to the unique product taxonomy. The list should be short — that's the point.