Database: customers_and_invoices
Question: Count the number of accounts corresponding to each customer id.
SQL:
SELECT count(*) ,  customer_id FROM Accounts GROUP BY customer_id