Return
customer_id — unique customer identifierfull_name — customer nametxn_country — country where the transaction occurredtotal_spent — sum of amount for that customer and country
Only include customers who have spent more than 1000 in a country. Order the results by total_spent descending.Expected output
| customer_id | full_name | txn_country | total_spent |
|---|---|---|---|
| 4 | Arjun Patel | US | 6490 |
| 6 | Wei Chen | MT | 3150 |
| 1 | Olivia Brooks | IT | 2600 |
First 3 of 5 rows your query should return. Your column aliases don't need to match.