Retail Banking Operations Path · Mission 7 of 30Easy

CD maturity wall (next 90 days)

BETWEEN on maturity_date with multi-table JOIN

The Brief

Jordan KimTreasurerretail-ops

Treasury wants to plan retention offers ahead of Q2. Pull every CD account maturing in the next 90 days from today (today = 2026-04-29, so the window is 2026-04-29 through 2026-07-28 inclusive). I need `account_id`, `product_name`, `maturity_date`, `original_balance`, and `interest_rate`. Sort by maturity date ascending so I can bucket the wall by week. Pull from `retail_accounts` joined to `retail_products`, filtered to the CD subcategory.

You'll practice

BETWEENMulti-table JOIN

Tables & columns available

retail_accountsdim13 columns
ColumnTypeKey
account_idINTPK
customer_idINTFK → retail_customers
product_idINTFK → retail_products
branch_idINTFK → retail_branches
open_dateTEXT
close_dateTEXT
statusTEXT
ownership_typeTEXT
interest_rateREAL
original_balanceREAL
credit_limitREAL
fico_at_origINT
maturity_dateTEXT
retail_productsdim10 columns
ColumnTypeKey
product_idINTPK
product_codeTEXT
product_nameTEXT
categoryTEXT
subcategoryTEXT
default_aprREAL
default_apyREAL
monthly_feeREAL
nsf_feeREAL
od_feeREAL

Hints (3)

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

Hint 1

CDs live in `retail_accounts` but the human-readable `product_name` is in `retail_products` — join them on `product_id`. Filter the subcategory to CDs only.

Hint 2

The maturity window is a BETWEEN on `maturity_date` — `'2026-04-29' AND '2026-07-28'` covers exactly 90 days inclusive of both endpoints.

Hint 3

Five columns in the order Jordan listed. Sort by `maturity_date` ascending so the earliest-maturing CDs are first — that's the order Treasury wants for the retention call list.