SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id
Show the order ids and the number of invoices for each order.
SELECT order_id , count ( * ) FROM Invoices GROUP BY order_id
select order_id , count ( * ) from invoices group by order_id
Show the order ids and the number of invoices for each order .