Types of joins?

Answers were Sorted based on User's Feedback



Types of joins?..

Answer / sangeetha meda

1. Self Join
Self join is a query in which a table is Joined to itself.

Self joins are used to compare the values in a column to
the other values in the same column in the same table.

2.Equi Join or Inner join
Equi join is a join in which the rows are retrieved the
equality of the relation ship between columns in the tables.

Select only those rows that have values in common in the
columns specified in the ON clause.

3.Non Equi Join or Outer Join

Left Outer Join:

Retrieves the matching records in both the table and non
matching records in the first or left table.

Right Outer Join

retrieves the matching records in both the table and non
matching records in the second or the right table.

Full Outer Join

Retrieves all the records (means matching and non matching
records in both the tables).

Is This Answer Correct ?    5 Yes 0 No

Types of joins?..

Answer / deeksha

4 types
1.equijoin
2.non-equijoin
3.self join
4.outer join

Is This Answer Correct ?    3 Yes 0 No

Types of joins?..

Answer / mohana sundaram

self joins,natural joins,cross joins,inner joins,outer
joins,equi and nonequi joins.

Is This Answer Correct ?    2 Yes 0 No

Types of joins?..

Answer / roopesh kumar

(1) Inner or Equei join
(2) Outer or no - equei join
(a) left outer
(b) right outer
(c) full outer
(3) Cartision or cross join
(4) Self join
(5) Natural join

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

If we update a complex view, is base table will get update ?

2 Answers   Ardee Technologies, HCL,


If you want a column to be part of the result set, after which SQL keyword does it belong? 1. SELECT 2. FROM 3. WHERE 4. GROUP BY 5. HAVING

10 Answers   HCL, TCS,


How to avoid using cursors?

0 Answers  


Where is all the data on the internet stored?

0 Answers  


What is a pragma statement?

0 Answers  






What are sql commands?

0 Answers  


Can a table contain multiple primary key’s?

0 Answers  


I have a package in which a table was used in a procedure and compiled later i have dropped the table used in the package what would be the status of package specification and body

1 Answers   TCS,


Is a secondary key the same as a foreign key?

0 Answers  


Are left and right joins the same?

0 Answers  


what is External tables? explain with examples

2 Answers   TCS,


What is a bitmap index?

4 Answers   Choice Solutions, Infosys,


Categories