What is the difference between Outer join and Full outer join?
Answer Posted / a g srikanth
Amongh outer joins there are three types
1)Left outer join
2)Right outer join
3)Full outer join
Left outer join: In this join the (+) sign is given with
the table to the left of the equal to sign
i.e emp.deptid(+)=dept.deptid
here we are seeking blank columns from the left table i.e.
emp if no matching columns are there in the right table i.e
dept
Right outer join: In this join the (+) sign is given with
the table to the right of the equal to sign
i.e emp.deptid=dept.deptid (+)
here we are seeking blank columns from the right table i.e.
dept if no matching columns are there in the left table i.e
emp.
NOTE:scott.emp and dept values do not give any rows for
right outer joins, for right outer join, assume that there
is some employee in emp table who is not yet assigned any
department number.
Full outer join:in this type of join we force blanks if any
from both the tables
SELECT *
FROM emp
FULL OUTER JOIN dept
ON emp.Deptid = dept.Deptid
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is literal?
What happens if recursive calls get out of control?
How to Truncate Table in Oracle
What is private procedure oracle?
How to create a table in a specific tablespace?
Explain the difference between a procedure and a function?
Can you tell me how to add new column in existing views?how?How is possible?
What is an oracle function?
When do I need to use a semicolon vs a slash in oracle sql?
What is a subquery in oracle?
How to write numeric literals in oracle?
How to pass a cursor variable to a procedure?
What is the difference between postgresql and oracle?
How to create a table index in oracle?
What is the use of oracle?