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 ?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are conditional predicates?

1033


What is the benefit of foreign key?

1009


What is clustered index sql?

971


How do I remove sql developer from windows 10?

1077


What are character functions in sql?

921


What is pl sql collection?

947


Write a sql query to convert all character to uppercase after hypen.

1416


How do I truncate a word?

1063


What is the use of %rowtype?

1025


Write a sql query to find the names of employees that begin with ‘a’?

990


what are date and time functions in mysql? : Sql dba

963


Mention what is the plv (pl/vision) package offers?

1090


What is a delimiter in sas?

1035


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

1123


How to create an array in pl/sql?

1053