 Write a SQL query that returns the top 10 customers by total spent 

 SELECT customer_id, SUM(amount) AS total_spent 
FROM orders 
GROUP BY customer_id 
ORDER BY total_spent DESC 
LIMIT 10;
 اكتب استعلام SQL يرجع أفضل 10 عملاء حسب المبلغ الإجمالي المنفق 

 SELECT customer_id، SUM(amount) AS total_spent 
FROM orders 
GROUP BY customer_id 
ORDER BY total_spent DESC 
LIMIT 10;