Task: Text to Code
Input (English): List the top 10 customers by total gross sales. List customers' first and last name and total gross sales.
Output (English): SELECT T1.first_name ,  T1.last_name ,  SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10