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 correlated sub-query?

Answer Posted / bindhu

Correlated subquery are used for row-by-row prcessing.Each
subquery is executed once for every row of the outer
query.It is one way of reading every row in a table and
camparing the values in each row againt the realted data.

Eg: select ename,sal,deptno from emp outer where sal >
(select avg(sal) from emp where deptno=outer.deptno);

Each time a row from the outer query is processed,the inner
query is evaluated.

Is This Answer Correct ?    103 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Histogram?

1500


What is the difference between partitioning and sharding?

946


What are variables in pl sql?

1090


Can a foreign key have a different name?

886


What is sql indexing?

961


How many commands are there in sql?

970


What is the purpose of primary key?

964


What is data definition language?

1041


Where can I learn sql for free?

930


What does subquery mean in sql?

986


What are tuples in sql?

1058


What are the advantages of normalization?

1034


What is an ndf file?

925


Do we need to rebuild index after truncate?

972


How do I upgrade sql?

946