The SQL patterns AML analysts, fraud strategists, and transaction monitoring investigators actually write — velocity windows, self-joins for counterparty rings, fuzzy entity resolution across customer records, structuring detection, sanctions false-positive tuning, and rule backtests — against a consumer-banking dataset with planted rings, structuring, device reuse, and dormant-then-active patterns. Written for career changers with any bachelor’s degree — AML RightSource, Chainalysis, fintech compliance teams, and AML consultancies all say “SQL + CAMS” and hire on portfolio.
30 missions (10 free · 20 Pro incl. 5 Master) · 5 tables · planted rings, structuring, and device reuse
Read the briefing
A Slack message from your manager
Explore the schema
5 tables in a star schema
Write your query
Full SQL editor with autocomplete
Get expert feedback
Graduated hints, not just pass/fail
Structuring below the $10K CTR threshold, smurfing across multiple accounts, round-dollar wire cycles, dormant-then-active money mules, and device/IP/email reuse across “separate” customers — every FinCEN / FATF / Wolfsberg pattern maps to a mission.
COUNT() OVER with date-range window frames, correlated subqueries for same-counterparty pairs, SOUNDEX / LEVENSHTEIN for entity resolution, and gap-and-island logic for dormant account reactivation.
Backtest a proposed threshold against historical alerts, compute rule precision / recall on true-positive labels, and measure false-positive reduction — the analysis every compliance team asks of new hires.
Every mission maps to a published AML analyst prompt (Capital One, Chainalysis, Chime, Block, Ramp, Mercury) and the work real investigators do. Pair with CAMS (~$1,400, 3 months) and you have a hiring cheat code.
Each mission is a real request from someone at the company. Difficulty increases as you go.
A consumer-banking AML schema with planted rings, structuring patterns, and device reuse. Sub-$10K cash deposits that stack to CTR-threshold evasion over 14 days, device fingerprints and IPs shared across supposedly separate customers, dormant-then-active money mules, round-dollar wire cycles, and alert dispositions with honest false-positive noise. The exact data shape investigators see on day one.
●dimension tables ● fact tables
Write the velocity rules, the entity-resolution joins, and the rule-tuning backtests that actually clear the alert queue.
Looking for something different?