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
what is union, minus and interact commands? : Sql dba
What is pl sql and why it is used for?
Explain the the update statement in sql?
What is a composite primary key?
Explain the difference between triggers and constraints?
Can we create a trigger on view?
Why indexing is needed?
explain primary keys and auto increment fields in mysql : sql dba
How do you select unique values in sql?
What are the basic sql commands?
When is a declare statement required?
How do you explain an index number?
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
what is a composite primary key ? : Sql dba
What are the different types of database management systems?