One rule: when the same column name exists in both tables, you must specify which table.
customers.customer_id → the ID from the customers table orders.customer_id → the ID from the orders table
Use table.column_name notation whenever there's any ambiguity.