For each month of 2025 and each region with at least one payment with status settled, show the total amount of those payments in cents. Use the payment date; do not include payments with any other or unknown status.
Columns: month_start, region, settled_total_cents
Sort: first by month_start ascending, then by region ascending.
PostgreSQL 17; the query is run in a browser.
Starting PostgreSQL…
Starting PostgreSQL…