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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Show how functions and procedures are called in a pl/sql block.

1097


How do I pipe the output of one isql to another?

989


What are the different types of dbms?

993


What is data definition language?

1080


Explain architecture of sql server notification services?

1035


Is sql dba a good career? : SQL DBA

973


What are the disadvantages of file system?

1234


How do I run a query in pl sql developer?

974


What is cursor and its types?

1046


What is the difference between delete and truncate statement in sql?

1045


How do I create a sql script?

1083


Is crud a cuss word?

1012


What is a sql statement?

936


What are sql data types?

998


what is the difference between ereg_replace() and eregi_replace()? : Sql dba

1128