SCHEMA:
CREATE TABLE Invoices (order_id VARCHAR)
USER:
Show the order ids and the number of invoices for each order.

QUERY:
SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id