OUTER JOIN

SQL FULL OUTER JOIN Keyword

The FULL OUTER JOIN command is used to return all rows from both tables. If there is no match, the result will contain NULL on the side where there is no match.

Tutorials dojo strip

SQL FULL OUTER JOIN Syntax

SQL

SQL FULL OUTER JOIN Customers and Orders Example

This query selects all customers and all orders. Where there is no match, NULL values will fill in the missing side.

SQL

Note: The FULL OUTER JOIN keyword returns all records from both tables. If there is no match, missing values will appear as NULL.

Important: FULL OUTER JOIN is not supported in SQLite and therefore will not work in the TechKubo playground. Use LEFT JOIN, RIGHT JOIN, or simulate with UNION if needed.

SQL FULL OUTER JOIN Labs

Tutorials dojo strip