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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / shivanibehere

For the joins you can go for this link ----
http://www.databasejournal.com/features/oracle/article.php/3
527921

Is This Answer Correct ?    2 Yes 0 No

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

Answer / shivanibehere

http://www.tomjewett.com/dbdesign/dbdesign.php?
page=jointypes.php&imgsize=medium

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

what protocol both networks use? : Sql server database administration

0 Answers  


What command do we use to rename a database?

0 Answers  


What is difference between foreign key and unique key?

0 Answers  


What is Command line parameters in PLSQL.?

0 Answers   MCN Solutions,


What are different types of join?

0 Answers  






What is implicit cursors?

0 Answers  


How to resolve the orphan use problem? : sql server security

0 Answers  


Can you tell me some of the common replication dmv's and their use? : sql server replication

0 Answers  


What is the purpose of floor function?

0 Answers  


where the connection string store in the database

0 Answers   HCL, Wipro,


How does SSIS(Sql Server Integration Services) deffer from DTS(Data Transformation Services)?

0 Answers   MCN Solutions,


How many types of schemas are there?

0 Answers  


Categories