Task: Text to Code
Input (English): What are the top 10 customers' first and last names by total number of orders and how many orders did they make?
Output (English): SELECT T1.first_name ,  T1.last_name ,  COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10