Lewy dołącz
SELECT *
FROM Table_A A
LEFT JOIN Table_B B
ON A.col = B.col;
Fair Flamingo
SELECT *
FROM Table_A A
LEFT JOIN Table_B B
ON A.col = B.col;
RIGHT JOIN: Matching part from both
table and unmatching part from right table.
123SELECT columns FROM table_A LEFT JOIN table_B ON join_conditionsXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SQL> SELECT ID, NAME, AMOUNT, DATE
FROM CUSTOMERS
LEFT JOIN ORDERS
ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;