SELECT customer_id, SUM(sales_amount) 
FROM customer_transactions 
GROUP BY customer_id 
ORDER BY SUM(sales_amount) DESC 
LIMIT 10;
Crea una query di database per elencare i primi dieci clienti in base all'importo delle vendite