Database: customers_and_invoices
Question: Show the order ids and the number of invoices for each order.
SQL:
SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id