what is an outer join? difference between left outer join
right outer join with an example?



what is an outer join? difference between left outer join right outer join with an example?..

Answer / m m naidu

OUTER JOIN: It is used to retrieve all the rows from one
table but matched rows from another table

LEFT OUTER JOIN: It displays matched row from two tables
and unmatched row from left hand side table

EX: select a.empno,a.ename,a.sal,b.deptno,b.dname,b.loc
from emp a left outer join dept b on(a.deptno=b.b.deptno)

RIGHT OUTER JOIN: It displays matched rows from two tables
and unmatched row from right hand side table

EX: select a.empno,a.ename,a.sal,b.deptno,b.dname,b.loc
from emp a right outer join dept b on(a.deptno=b.b.deptno)

Is This Answer Correct ?    15 Yes 5 No

Post New Answer

More Cognos Interview Questions

What are links & Segments in Cognos Framework Manager?

1 Answers   Systime,


What is Additive function?

0 Answers   IBM,


What is difference between content store and content manager?

0 Answers  


How can you create prompts in framework manager?

4 Answers   Tech Mahindra,


What is Normalization?

3 Answers  






if u having 2 pakages i want a report with report items in 2 pakages how to use the 2 pakages in single report please ans me............

1 Answers   Mphasis,


Can you define fan trap?

0 Answers  


In which types of reports does the page breaks applicable in Cognos...?

1 Answers   IBM,


What is the difference between cognos 8.2 and cognos 8.3?

5 Answers  


Are you aware of any limitations in Cognos?

1 Answers   HCL,


what is an sid (surrogate key)?

2 Answers   IBM, Oracle,


what is cube size?

4 Answers   IBM,


Categories