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

Correlated sub query is evaluated once per row processed by the parent statement.

Example:which employee earn salary greater than avg salary of their department.

Query: select emp_no,emp_name,job,sal,dept_no from emp a where sal>(select avg(sal) from emp where dept_no=a.dept_no)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best free sql database?

1103


how to include character strings in sql statements? : Sql dba

1138


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

1020


Are stored procedures faster than queries?

990


What is varray in pl sql?

1121


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

1206


What is the difference among union, minus and intersect?

1049


Why do we use view in sql?

1019


What is sap sql anywhere?

1166


Is big data nosql?

1000


Is sqlexception checked or unchecked?

1011


Name the operator which is used in the query for pattern matching?

1004


Why do we use sqlite?

1029


What is synonyms?

1118


what are tables and fields? : Sql dba

1104