In which situation you use Self joins?

Answer Posted / arun anoop m

We use Self Join, if we have a table that references itself.


For example, In the Employee Table below MANAGERID column
references EMPLOYEEID column. So the table is said to
referencing itself.This is the right scenario where we can
use Self Join.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of sql stored procedure?

542


What are different types of roles provided by ssrs?

112


What are the advantages of paper records?

559


What are the instances when triggers are appropriate?

526


How to generate create procedure script on an existing stored procedure?

514






How do I make a resultset scrollable?

515


Do you know what is xpath?

559


Explain security with sql azure?

161


How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

1579


What is query processing?

546


How to create a new schema in a database?

555


What is a synonym for manipulation?

552


What types of replication are supported in sql server?

570


I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?

607


What is correlated subquery in sql server?

559