Write a SQL query to find the top 5 customers with the highest total transaction value in the last 30 days.
Use PostgreSQL syntax and treat the period as transaction dates from CURRENT_DATE - INTERVAL '30 days' through today.
customer_id, customer_name, and total_transaction_value.customer_id.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique Ally Financial customer identifier |
| customer_name | VARCHAR(100) | Customer display name |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| customer_id | INT | Customer associated with the transaction |
| transaction_date | DATE | Transaction posting date |
| transaction_value | NUMERIC(12,2) | Transaction amount in dollars |