Show the order id for each invoice.
select order_id from invoices
What is the number of invoices for each order?
select order_id, count(*) from invoices group by order_id