About the “Collateral Risk Reserve Holdback for High-Chargeback Merchants” SQL Problem
Business Scenario
Payment gateways mitigate credit loss by automatically withholding rolling reserve holdbacks (between 5% and 15%) from merchant payouts when dispute ratios breach risk corridors.
Expected Output & Criteria
Merchant collateral reserve holdback calculation based on chargeback ratios.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE merchant_monthly_stats (
merchant_id VARCHAR(16) PRIMARY KEY,
gross_volume_usd NUMERIC(12, 2) NOT NULL,
chargeback_ratio_pct NUMERIC(5, 2) NOT NULL
);Target SQL Clauses & Operators
Want more Business Analytics practice?
Explore the full syllabus of 18 exercises and syntax guides.