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

I have a reports on cognos ep7series version3 with database SQl2000.Now i am migrating database SQL2000 to SQL2005.Then What happens to cognos reports and also there is reports cubes then how can i handle this problem please give me step by step solution b'coz i am new to cognos ep7series

0 Answers   Infosys,


Explain about scorecarding?

0 Answers  


2.How do you drill through report from Report Studio to Analysis studio?

3 Answers   IBM,


How can we change any header or footer for a group of reports

1 Answers   Satyam, Tech Mahindra,


what is the difference between aggregation and roll up aggregation?

1 Answers  






what are determinants?

4 Answers   Dominion,


can any one say the which is the best performance in framework manager

1 Answers  


what is requery in cognos?

0 Answers   HMN, Satyam, TCS,


what is logs in cognos

1 Answers   Target, Thomson Reuters,


Can we use 2 packages in report studio at a time is there any alternative for this Thanks Nithin

7 Answers   IBM,


What is the difference between a data mart and a data warehouse?

0 Answers  


hi,dis is kumari.I'm searhing on cognos.1 want realtime scenarios with solutions.persons having hands on experience in real time plz help me out. my mail-id is vicky_ceti@yahoo.co.in hope u will respond as soon as possible. thank u in advance

26 Answers   IBM,


Categories