Task: Text to Code
Input (English): Step 1: find the summation of total of each value of billing_country in invoices table.
Step 2: find billing_country of invoices table ordered descending by the results of step 1.
Step 3: only show the first 8 rows of the results
Output (English): SELECT billing_country FROM invoices GROUP BY billing_country ORDER BY Sum ( total ) Desc LIMIT 8