© Ben Brumm 2019
Ben BrummBeginning Oracle SQL for Oracle Database 18chttps://doi.org/10.1007/978-1-4842-4430-2_19

19.  Outer Join

Ben Brumm1 
(1)
Melbourne, VIC, Australia
 

In the last chapter, we learned how to join tables together using the JOIN keyword . This was a type of join called an inner join, which displays records that exist in both tables being joined. The other type of join is an outer join.

What is an Outer Join?

An outer join is where two tables are joined together, but if there is no related record in one of the tables, the data from the other table is still shown.

Using our sample data and joining the employee table to the customer_meeting table, you saw customer_meeting and employee records. You didn’t see any customer_meetings that ...

Get Beginning Oracle SQL for Oracle Database 18c: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.