how many Invoices there
select count ( * ) from invoices
how many orders there
select count ( * ) from orders
what is the customer id of order id 3
select customer_id from orders where order_id = 3