About the “Flagged High-Value Cross-Border Wire Transfers” SQL Problem
Business Scenario
Anti-Money Laundering (AML) compliance mandates that all international wire transfers equal to or exceeding $10,000 destined for monitored jurisdictions or flagged with a status of 'pending_review' must be escalated for officer sign-off.
Expected Output & Criteria
High-value wire transfers pending compliance review sorted by amount descending.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE wire_transfers (
transfer_id VARCHAR(16) PRIMARY KEY,
sender_account_id INT NOT NULL,
recipient_country VARCHAR(4) NOT NULL,
amount_usd NUMERIC(12, 2) NOT NULL,
compliance_status VARCHAR(30) NOT NULL
);Target SQL Clauses & Operators
Want more Fundamentals practice?
Explore the full syllabus of 16 exercises and syntax guides.