What are the type of joins? When do we use Outer and Self joins?

Answer Posted / chandra rekha

Types of joins:
->Inner join
->Outer join->1.Left Outer join
2.Right Outer join
->Cross join
->Equi join
->Natural join
->Self join

Outer join:-When we need all rows from one table and some
rows from the other table

Self join:-When one row in a table correlated with other
rows in the same table

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ems sql management studio? : sql server management studio

758


What is the use of set nocount on/off statement?

818


How to create a scrollable cursor with the scroll option?

669


What is a full text index?

664


How to call stored procedure using http soap?

701






What stored by the tempdb ? : sql server database administration

759


Explain few examples of RDBMS?

763


How to create prepared statements using odbc_prepare()?

776


What is the difference between delete and truncate statements?

745


How many databases instances are there in sql server 2000?

752


what is a live lock? : Sql server database administration

630


What are the authentication modes in sql server? How can it be changed?

791


How do you rebuild an identity column?

714


How to locate and take substrings with charindex() and substring() functions?

697


what are triggers? : Sql server database administration

656