Lecture - 27 - OUTER Join
Lecture - 27 - OUTER Join
JOINS are used to retrieve data from multiple tables. It is performed whenever two or more tables are joined in a SQL
statement.
Start-Tech Academy
FULL OUTER JOIN
The FULL JOIN combines the results of both left and right outer joins
Start-Tech Academy
FULL OUTER JOIN
The FULL JOIN combines the results of both left and right outer joins
SELECT
a.order_line ,
a.product_id,
a.customer_id,
a.sales,
b.customer_name,
Example b.age,
b.customer_id
FROM sales_2015 AS a
FULL JOIN customer_20_60 AS b
ON a.customer_id = b.customer_id
ORDER BY a.customer_id , b.customer_id;
Start-Tech Academy