Database: customers_and_invoices
Question: How many invoices correspond to each order id?
SQL:
SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id