<prompt> Kuandika SQL query kwamba anarudi juu 10 wateja kwa jumla ya matumizi  <response>: This is a SQL query that can be used to return the top 10 customers by total spent:SQLSELECT customer_id, SUMtotal AS total_spentFROM ordersGROUP BY customer_idORDER BY total_spent DESCLIMIT 10In this query, we first select the customer_id and SUMtotal column from orders table. The SUMtotal calculates the total spent by each customer and is given an alias total_spent. The GROUP BY customer_id statement is used to group the result-set by the customer_id column. Then, the ORDER BY total_spent DESC statement is used to sort the result-set in descending order. Finally, LIMIT 10 statement is used to return only the top 10 records. 