Gabungan luar lengkap
SELECT columns
FROM table_A
FULL OUTER JOIN table_B ON table_A.id = table_B.id
Prickly Peafowl
SELECT columns
FROM table_A
FULL OUTER JOIN table_B ON table_A.id = table_B.id
SELECT Customers.customer_id, Customers.first_name, Orders.amount
FROM Customers
FULL OUTER JOIN Orders
ON Customers.customer_id = Orders.customer
WHERE Orders.amount >= 500;
SELECT Customers.customer_id, Customers.first_name, Orders.amount
FROM Customers
FULL OUTER JOIN Orders
ON Customers.customer_id = Orders.customer;
SELECT columns
FROM table1
FULL OUTER JOIN table2
ON table1.column_name = table2.column_name;