To find the top 10 customers by total purchase amount, write a SQL query that orders the customers by purchase_amount in descending order.
The solution is optimal because it uses the ORDER BY clause to sort the table by purchase_amount in descending order, and then uses the LIMIT clause to return the first 10 rows.
Evaluated at: 2022-10-10 00:50:17