For each customer city with orders, return the customer name with the highest total spend and total_spent (ties: all).
12 rows with columns city, name, total_spent — first 3 shown:
| # | |||
|---|---|---|---|
| 1 | Lucknow | Isha Verma | 6893 |
| 2 | Hyderabad | Zara Khan | 3798 |
| 3 | Pune | Aditya Joshi | 4094 |
Run your code to see the output here.