Please explain the difference between outer join and inner
join? With examples would be appreciable..!
Answer Posted / sripathi venkata ramesh
I am Sripathi Venkata Ramesh from Gudivada
Answer is below
Joins
a) Inner join or default join or Equi Join:
It selects all the matching aswellas non matching records
from both the tables.
b) Outer join: It selects all the matching
aswellas non matching records from both the tables
depending upon the join type.
1) Left outer join:
It selects all the records from the left table but only the
matching records from the right table.
2) Right outer join: It
selects all the records from the right table but only the
matching records from the left table.
3) Full outer join:
It’s a union of left and right outer join.
c) Cross join or Cartesian join: Every row
in the first table joins with every row in the second
table. It does not have any condition. It is also called as
a Cartesian join.
d) Self join: Joining a table by itself is
called Self join. Here we have to use alias table.
| Is This Answer Correct ? | 12 Yes | 24 No |
Post New Answer View All Answers
How to define a record variable to store a table row?
how do u setup a replication site?
How to convert characters to numbers in oracle?
What is ordinary table in oracle?
How to display row numbers with the records?
How many memory layers are in the oracle shared pool?
What is oracle thin client?
How do I recompile a procedure in oracle?
Calculate difference between 2 date / times in oracle sql?
How to shutdown your 10g xe server from command line?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
How to start instance with a minimal initialization parameter file?
Explain how you would restore a database using RMAN to Point in Time?
How to start your 10g xe server from command line?
How to use "for" statements in oracle?