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 coalesce in sql?

1131


what are the differences between char and nchar? : Sql dba

1162


What is cte?

1022


What is a behavioral trigger?

1024


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2552


what is sp_pkeys? : Transact sql

1204


Name the different types of indexes in sql and define them.

1223


Can we join tables without foreign key?

1007


What do you understand by pl/sql cursors?

1148


What is the difference between left join and right join?

990


Does access use sql?

1101


What is trigger types of trigger?

1144


Can there be more than one function with a similar name in a pl/sql block?

1041


What is the clause we need to add in function body to return variable?

1053


How does rowid help in running a query faster?

1475