What different of iner joint & outer joint with example
Answer Posted / tripti gour
INNER JOIN: inner join fetch only matched data from 2 or
more tables.
ex: select empno, ename, e1.deptno, d1.deptno, dname
from emp e1, dept d1
where e1.deptno = d1.deptno;
output will the all records whose deptno is exists in both
table (emp and dept)
OUTER JOIN: is used to fetched matched and unmatched data
from 2 or more tables.there are 3 type of outer join:
Right outer join , Left outer join, Full outer join.
Right outer join will display the matched and unmatched
records of right side located table.and Left outer join does
just opposite of it.and Full outer join will display matched
and unmatched both type of records from both tables.
ex: select empno, ename, e1.deptno, d1.deptno, dname
from emp e1 right outer join dept d1
on e1.deptno =d1.deptno;
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Can a formula column referred to columns in higher group ?
How to create a new oracle data file?
What happens if variable names collide with table/column names?
Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.
What is meant by joins?
How to open and close an explicit cursor in oracle?
How can we delete duplicate rows in a table?
How to find the duplicate rows count from employees table in oracle?
What do you mean by merge in oracle and how can we merge two tables?
How to execute the package in oracle?
can anyody please send me the dump for Oracle 10g certifications for DBA path?
Can we create trigger on materialized view in oracle?
How to delete multiple rows from a table in oracle?
ur a sql devoloper...what is the process in ur company for finding the database BUGS .. seperate DB testers are there? or devr.s are manage? if DB TESTERS in there what is the process
What are triggers in oracle?