What are the different types of joins and explain them
briefly.

Answer Posted / rahul koshti

There are 2 main type of joins :
Equijoin : Join N number of tables for equality =.
Non-Equijoin : Join N number of tables for other than
equality such as <>,<,>,IN,BETWEEN etc.

Technically there are total 3 different types of joins:
Cross Join: When join condition is missing then all rows
from one table gets joined with all rows from other table..
Inner Join: If a row has a NULL value in any one of the
columna of join conditin then that row will not fetched.
Outer Join: Even if the NULL values are present in any
columns of join condition that record will get fetched.
There are again 3 types of outer joins: Left, Right, Full.
Self Join : A table is joined with self.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are properties of the transaction?

552


What is the process of copying data from table a to table b?

590


How does postgresql compare to "nosql"?

574


what is column? : Sql dba

563


How does a covering index work?

520






Can variables be used in sql statements?

548


What are the sql versions?

513


What is %type in pl sql?

536


Explain some predefined exceptions.

580


What is group by in sql?

541


Does google use sql?

506


Why is theta join required?

657


What is date functions?

565


how do you login to mysql using unix shell? : Sql dba

559


How many joins can you have in sql?

508