explain different types of jions with examples briefly?

Answer Posted / ramesh

Basically Joins are used to get result from two or more
tables and there are two types of joins
inner join and outer join
Inner join : a join of two or more tables which omits the
blank rows while checking

Outer join is subcatogorised in to left outer join and right
outer join. Which includes blank rows in specifed side if
condition satisfies.
Simple outer join is combination of left and right outerjoins.
Apart from these there are
Natural join : cartisian product
Equi join : which includes = operator in condition
NonEqui join : All conditional joins which doesn't uses = in
there conditions.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

548


Can we add an identity column to decimal datatype?

584


When to use null data driven subscription?

148


what is bit datatype? : Sql server database administration

508


What is history table in sql server?

508






If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

538


What happens if null values are involved in datetime operations?

538


What is the difference function and stored procedure?

565


What is measure group, measure? : sql server analysis services, ssas

552


What is the web service used for reporting services?

98


How to count rows with the count(*) function in ms sql server?

538


What is indexing in sql server with example?

525


What is the difference between varchar and varchar(max) datatypes?

560


What is built-in function?

550


What is outer join in sql server joins?

597