AML & Fraud Analytics Path · Mission 5 of 30Starter

Cash deposits over $10K

Multi-condition WHERE filter against the CTR threshold

Back to AML & Fraud Analytics

The Brief

Teresa ReyesBSA Officerbsa-reporting

FinCEN Form 112 — the Currency Transaction Report — triggers at a $10,000 cash threshold per business day. I need the list of cash deposits over that threshold across the whole table, just to sanity-check that our CTR queue matches what's in the data. Give me `txn_id`, `account_id`, `posted_date`, and `amount`, newest first. Exclude reversals. Cash deposits only — not cash withdrawals.

You'll practice

WHEREFiltersCTR threshold

Tables & columns available

aml_transactionsfact9 columns
ColumnTypeKey
txn_idINTPK
account_idINTFK → aml_accounts
posted_dateTEXT
posted_tsTEXT
amountREAL
channelTEXT
counterparty_nameTEXT
counterparty_account_idINT
is_reversalINT

Hints (3)

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

Hint 1

The channel you want is `cash_deposit`. `cash_withdrawal` is a different typology (structuring candidates look different there).

Hint 2

Two filters stack in the WHERE clause: `channel = 'cash_deposit'` AND `amount > 10000` AND `is_reversal = 0`. Yes, all three.

Hint 3

Order by posted_date DESC so the most recent CTR-eligible deposit lands at the top of the review queue.