Show the order ids and the number of invoices for each order.
SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id
number of invoices for each order refers to COUNT(*) GROUPED BY order_id; show the order ids refers to SELECT order_id;