Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a self join ?

Answers were Sorted based on User's Feedback



What is a self join ?..

Answer / anil_abbireddy

A table is joined itself is called self join or Self
referential integrity.

Is This Answer Correct ?    12 Yes 0 No

What is a self join ?..

Answer / rupesh.dbms@gmail.com

It is the join in which result is obtained by equating two
coloumns with same values of one table for example
emp(eno,ename,mgrno) eno is primary key and mgrno is
recursive foreign key

select e.eno,e.ename,m.mgrno,m.ename mgrname
from emp e, emp m
where m.eno=e.mgrno;
note : one table emp is replicated as m , e and then
result is obtained.

Is This Answer Correct ?    9 Yes 1 No

What is a self join ?..

Answer / anbu

Self join is defined as a table is viewd by two different
ways and then the join can be done with the same table.
By another way the definition is 'A table can be joined
with itself using sel join'.

Is This Answer Correct ?    7 Yes 1 No

What is a self join ?..

Answer / ram

Normally we joins for retrieve data from more than 1 table

In some cases we need to join 1 table itself to join itself
condition is table having two column with same data type &
size but name are different
In emp table empno & mgrno are two columns example for this


select ename,job,sal,e.empno,m.mgrno from emp e inner join
emp m on m.mgrno=e.empno

Is This Answer Correct ?    2 Yes 2 No

What is a self join ?..

Answer / praker

join two members

Is This Answer Correct ?    4 Yes 6 No

What is a self join ?..

Answer / vipin kumar

we are joining more than 2 tables

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More SQL PLSQL Interview Questions

what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

0 Answers  


how to include numeric values in sql statements? : Sql dba

0 Answers  


what are dynamic queries in t-sql? : Transact sql

0 Answers  


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

0 Answers  


How do I get sql certification?

0 Answers  


How do I view a sql database?

0 Answers  


Can we use more than one null value for unique key?

31 Answers   A1 Technology, Wipro,


what is log shipping? : Sql dba

0 Answers  


C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.

0 Answers  


why should required nested tables, Object types, partition tables and varying arrays. what is the difference between these are all. give me example with explanation.

2 Answers  


Show the two pl/sql cursor exceptions.

0 Answers  


What is pragma exception and how, when, where us

5 Answers  


Categories