Context: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)
Question: A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.
Answer: SELECT billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8