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

Explain Connect by Prior?

Answer Posted / abhijit

The start with .. connect by clause can be used to select
data that has a hierarchical relationship (usually some sort
of parent->child (boss->employee or thing->parts).


select a.*, level from emp a
start with mgr is null
connect by mgr = prior empno;

The start with .. connect by clause can be used to select
data that has a hierarchical relationship (usually some sort
of parent->child (boss->employee or thing->parts).

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is embedded sql with example?

1097


What are all the different normalization?

1080


What is dml with example?

1154


Is ms sql is free?

1080


Which type of cursor is used to execute the dml statement?

995


what are all the different types of indexes? : Sql dba

1103


what are the features and advantages of object-oriented programming? : Sql dba

1072


What does where 1 1 mean in sql?

1076


how to create a test table in your mysql server? : Sql dba

1055


What is the current version of sql?

1068


What are the three pl sql block types?

1049


What is a sql statement?

1017


How global cursor can be declare with dynamic trigger ?

2270


Explain the the delete statements in sql?

1115


How can we implement rollback or commit statement in a trigger?

1084