SELECT * ; FROM customer LEFT OUTER JOIN invoices ; ON customer.customer_id = invoice.customer_id WHERE [add condition if needed]This will give all rows from the LEFT table (customer) plus any matches from the RIGHT table (invoices). Note that non-matching records return NULL in the fields from the right table...!