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
Explain the commit statement.
Explain ddl statements in pl/sql?
What can I use instead of union in sql?
What is a stored procedure in sql with example?
What is error ora-01000: maximum open cursors exceeded
is it possible to pass an object or table to a procedure as an argument?
Does truncate require commit?
Does sql backup shrink transaction log?
What type of database is cloud sql?
Is a foreign key always unique?
what is rollback? : Sql dba
Which is better join or subquery?
How do you go back in sql?
What is coalesce in sql?
Define commit, rollback and savepoint?