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 company owns postgresql?

961


Explain the types of joins in sql?

962


What does a pl/sql package consist of?

929


Mention what problem one might face while writing log information to a data-base table in pl/sql?

1158


what is the use of set statement in tsql? : Transact sql

943


What is function and procedure?

984


What are the subsets of sql?

1037


What are different types of queries in sql?

1046


How can I delete duplicate rows?

963


What is difference between hql and sql?

991


What is the difference between an inner join and an outer join?

968


How do you declare a user-defined exception?

962


What is procedure in pl sql?

979


What are the different types of tables in sql?

929


What are analytic functions in sql?

970