 Create a database query to list the top ten customers based on sales amount 

 SELECT customer_id, SUM(sales_amount) 
FROM customer_transactions 
GROUP BY customer_id 
ORDER BY SUM(sales_amount) DESC 
LIMIT 10;
 أنشئ استعلام قاعدة بيانات لعرض أفضل عشرة عملاء بناءً على مبلغ المبيعات

 SELECT customer_id، SUM(sales_amount)
FROM customer_transactions
GROUP BY customer_id
ORDER BY SUM(sales_amount) DESC
LIMIT 10;