Problem
Write a PostgreSQL query to return the top 3 customers by transaction volume in each region. Rank customers by total transaction count, break ties by higher total transaction amount, and then by lower customer_id.
Schema
Tables
- customers
- regions
- transactions
You are practicing as a guest. Sign up free to run your code against the sample data. Your draft stays right here.



