Recall & Review
beginner
What is a FULL OUTER JOIN in SQL?
A FULL OUTER JOIN returns all rows when there is a match in either left or right table. Rows without a match in one table will have NULLs for columns from the other table.
Click to reveal answer
intermediate
Does MySQL support FULL OUTER JOIN natively?
No, MySQL does not support FULL OUTER JOIN directly. You can simulate it using a UNION of LEFT JOIN and RIGHT JOIN.
Click to reveal answer
beginner
Which popular databases support FULL OUTER JOIN natively?
PostgreSQL, SQL Server, and Oracle support FULL OUTER JOIN natively. SQLite does not support FULL OUTER JOIN natively as of version 3.39.0.
Click to reveal answer
intermediate
How can you simulate FULL OUTER JOIN in databases that don't support it?
You can simulate FULL OUTER JOIN by combining LEFT JOIN and RIGHT JOIN with UNION, ensuring all rows from both tables appear.
Click to reveal answer
advanced
Why might FULL OUTER JOIN be less common in some database systems?
Because FULL OUTER JOIN can be expensive to compute and some databases prioritize simpler joins, they may omit native support to encourage more efficient queries.
Click to reveal answer
Which SQL join returns all rows from both tables, filling NULLs when no match exists?
✗ Incorrect
FULL OUTER JOIN returns all rows from both tables, with NULLs where there is no match.
Does MySQL support FULL OUTER JOIN directly?
✗ Incorrect
MySQL does not support FULL OUTER JOIN natively; it requires simulation using UNION of LEFT and RIGHT JOIN.
Which database added native FULL OUTER JOIN support starting from version 3.39.0?
✗ Incorrect
SQLite does not support FULL OUTER JOIN natively as of version 3.39.0.
What SQL operation can simulate FULL OUTER JOIN in databases without native support?
✗ Incorrect
Combining LEFT JOIN and RIGHT JOIN with UNION simulates FULL OUTER JOIN.
Which of these databases supports FULL OUTER JOIN natively?
✗ Incorrect
PostgreSQL supports FULL OUTER JOIN natively.
Explain what a FULL OUTER JOIN does and how you can achieve similar results in MySQL.
Think about combining two types of joins to get all rows.
You got /5 concepts.
List some popular databases that support FULL OUTER JOIN natively and one that does not.
Consider common open source and commercial databases.
You got /5 concepts.