Context: CREATE TABLE Invoices (order_id VARCHAR)
Question: Show the order ids and the number of invoices for each order.
Answer: SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id