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

Repair mdf file

2 Answers  


how to take backup bcp out for a column in table in sql server?

0 Answers  


Wht is SQL Injection Attack ?

3 Answers  


What is db stored procedure?

0 Answers  


Why we need a group by clause?

4 Answers  






What is the difference between a clustered index and a non-clustered index?

0 Answers  


Why is replication required on the sql server?

0 Answers  


Explain indexing and what are the advantages of it?

0 Answers  


Is it ok to shrink transaction log?

0 Answers  


what is node in sql server?

2 Answers   CarrizalSoft Technologies, Google, NIIT, Nittany, TATA,


What is the syntax for encrypting a column in SQL Server?

0 Answers   MindCracker,


How to find the second highest salary of an employee?

0 Answers  


Categories