JOINS - allow you to relate data from one table to data in other tables
3 types of joins:
- INNER JOIN
- OUTER JOIN
- self-join — INNER JOIN - join second table into first table in the same columns if the same row values appear
SELECT customer.customer_id,
amount, payment_date
FROM customer
INNER JOIN payment ON payment.customer_id = customer.customer_id