OUTER JOINS USED TO GET MATCHING AND NONMATCHING ROWS FORM 2
OR MORE TABLES BASED ON COLUMNS. SIMPLE JOINS ALSO DO THE
SAME THEN WHAT IS THE USE OF OUTER JOINS.

Answer Posted / ravi

Simple joins gives only matching/common values from two or
more tables

If you have mentioned only Outer joins then it is same as
simple join gives the matching values from two or more
tables but outer joins are of two types--- right outer join
and left outer join

for right outer join--- it will give non matching rows also
from right table in addition to matching rows
for left outer join-- it will give non matching rows also
from left table in addtion to matching rows

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1817


What is explain in db2?

767


While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

2075


How to find the number of rows in db2 tables?

792


What is the physical storage length of timestamp data type?

849


What is the default page size of buffer pools?

854


What is syscat in db2?

766


What is the physical storage length of the data types date, time, and timestamp?

853


What is plan in cobol db2?

788


define clustering index.

794


What is a storage group (stogroup)?

986


What is universal database?

822


What is the purpose of rollback and commit?

788


What is bufferpool in db2?

797


What is table space in db2?

777