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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why cognos decision stream is used?

757


What is defined as Cognos Impromptu?

730


HI, If anybody is having C2020-625 - IBM Cognos 10 BI Data Warehouse Developer, kindly send the same to shiju.rajs@gmail.com. Thanks

1591


What is difference between page break and section report? What is main advantage datawarehousing over oracle?

692


what is hints in cognos and where we use it.

2077






how you migrate reports to cognos 8 from previous versions?

713


What is meant by drill down?

615


What is defined as Query studio?

698


how can you get the errors in job? when loops are araised we get error?

1759


in u r data u having duplicates how to fetch the latest data in our report?

4854


How to select multiple values from type-in prompt?

737


Hi Buddies...i am lalitha. i am willing to appear for cognos bi-author certification. can anyone of you send me cognos dump. please please help me.

1560


What do you understand by the term ‘frame manager' in cognos and write all the layers of the framework manager model?

806


Can we test the report other than manual testing?

1778


Can you define drill across?

643