Understanding SQL FULL OUTER JOIN
Quick Answer
The SQL FULL OUTER JOIN returns all records when there is a match in either left or right table. It combines the results of LEFT JOIN and RIGHT JOIN, including unmatched rows from both tables with NULLs where no match exists.
Learning Objectives
- Understand the purpose and behavior of FULL OUTER JOIN in SQL.
- Write SQL queries using FULL OUTER JOIN to combine tables.
- Identify differences between FULL OUTER JOIN and other join types.
Introduction
SQL joins are essential for combining data from multiple tables based on related columns.
FULL OUTER JOIN is a type of join that returns all rows from both tables, matching rows where possible and filling with NULLs where no match exists.
A FULL OUTER JOIN is like a union of LEFT and RIGHT JOINs.





