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

Can we perform backup restore operation on tempdb? : sql server database administration

0 Answers  


How will you find out if there are expensive SQL statements running or not?

0 Answers   Atos Origin,


Is it possible to call a stored procedure within a stored procedure?

0 Answers  


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

0 Answers  


What is transact-sql ddl trigger?

0 Answers  






Define synonym?

0 Answers  


What is a performance monitor?

0 Answers  


What is the difference between having clause and where clause in sql server?

0 Answers  


How is a full-text index updated?

0 Answers  


What is the difference between functions and scalar functions?

0 Answers   EXL,


What is log cache in sql server?

0 Answers  


Advantages and disadvantages of stored procedures.

2 Answers   HCL,


Categories