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 precedence constraint?

546


How to store and query spatial data?

564


Explain cdc and sql injection?

551


Is mysql better than sql server?

542


What are the types of user defined functions in sql server?

505






What command do we use to rename a db, a table and a column?

508


Why use view instead of a table?

528


Explain various data region available in ssrs with their use?

494


how to control the amount of free space in your index pages? : Sql server database administration

602


Is null vs coalesce?

510


How to change the name of a database user?

552


is there a column to which a default can't be bound? : Sql server database administration

541


Which command is used for user defined error messages?

565


what is a default tcp/ip socket assigned for sql server? : Sql server database administration

535


Do you know concepts and capabilities of sql server?

584