What is the difference between Outer join and Full outer join?

Answer Posted / bukko

A join is between 2 tables (or views), for example:

TABLE1 <==> TABLE2

A LEFT OUTER JOIN returns all rows from the LEFT table (TABLE1 in the example) and only the rows from the RIGHT table (TABLE2) where the columns in the join clause match.

A RIGHT OUTER JOIN is, unsurprisingly, the same but reveresed, i.e. all rows from TABLE2 plus the rows from TABLE1 where the columns in the join clause match.

A FULL OUTER JOIN is both; it returns all rows which would result if it were a LEFT OUTER JOIN plus all the rows which would result if it were a RIGHT OUTER JOIN.

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle recycle bin?

714


How to start a new transaction in oracle?

804


What happens if the imported table already exists?

764


Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?

858


What is a data dictionary and how can it be created?

812


What is the difference between pre-select and pre-query?

836


Explain the difference between a procedure and a function? What do you understand by those terms?

826


What is the minimum client footprint required to connect c# to an oracle database?

769


How to create a testing table in oracle?

745


Is java required for oracle client?

722


What is oracle data type?

730


How can I create database in oracle?

752


Explain an index?

858


How to connect ms access to oracle servers?

725


What is connection pool in oracle?

737