In which situation you use Self joins?



In which situation you use Self joins?..

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

More SQL Server Interview Questions

Define model database?

0 Answers  


What is analysis service repository?

0 Answers  


How to execute the cursor queries with "open" statements?

0 Answers  


Name three version of sql server 2000 and also their differences?

1 Answers  


I need a query that retrieves info from an Oracle table and a query that retrieves info from a SQL Server table. The info has to be joined together according to Record ID numbers. I have very limited access to the Oracle database but full control of the SQL Server database.How do I join two different queries from two different databases?

1 Answers  






What is use of @@ spid in sql server?

0 Answers  


What are different types of schemas?

0 Answers  


What is Primary key and foreign key? Give an example

4 Answers   TCS,


Explain partitioned view?

0 Answers  


Explain in brief how sql server enhances scalability of the database system?

0 Answers  


Tell me what do you understand by a view? What does the with check option clause for a view do?

0 Answers  


plz send every query in sql server2000

1 Answers   Infosys,


Categories