About the “Flagged Cross-Border Wire Transfers” SQL Problem
Business Scenario
A global neo-bank AML (Anti-Money Laundering) compliance officer must inspect high-risk international wire transfers. Federal regulations mandate auditing transfers between $10,000 and $50,000 USD where the automated fraud risk score is 75 or higher.
Expected Output & Criteria
High-risk non-US wire transfers between $10k and $50k, sorted by highest risk score first.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE wire_transfers (
transfer_id VARCHAR(16) PRIMARY KEY,
sender_iban VARCHAR(34) NOT NULL,
destination_country VARCHAR(3) NOT NULL,
amount_usd NUMERIC(12, 2) NOT NULL,
risk_score INT NOT NULL,
status VARCHAR(20) NOT NULL
);Target SQL Clauses & Operators
Want more Fundamentals practice?
Explore the full syllabus of 12 exercises, syntax guides, and interview pitfalls.