Tell me about a time you wrote an SQL query to find customers who placed more than one order and sort them by total spend.
Use the provided customer and order data. Return only customers with more than one order, including orders with a zero or NULL amount in the order count.
customer_id, customer_name, order_count, and total_spend.total_spend descending, then customer_id ascending to break ties.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer display name |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | Customer who placed the order |
| order_total | DECIMAL(10,2) | Order amount |