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.



OUTER JOINS USED TO GET MATCHING AND NONMATCHING ROWS FORM 2 OR MORE TABLES BASED ON COLUMNS. SIMPL..

Answer / 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

More DB2 Interview Questions

What is a db2 table?

0 Answers  


What is host variable in db2 cobol?

0 Answers  


Is db2 free?

0 Answers  


What is a DB2 bind?

1 Answers   Logica CMG,


when does the SQL statement gets executed when you use cursor in the application programming ?

3 Answers   IBM,






what is the sqlcode -501

5 Answers   IBM, Polaris, Zeus,


When would you prefer to use VARCHAR?

3 Answers  


What are the abend codes occour in ur latest PROJECT in DB2

2 Answers   Cap Gemini,


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  


How do I add a column to a table in db2?

0 Answers  


How will fetch last 5 rows from table in db2

6 Answers  


In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.

5 Answers   CTS,


Categories