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

How to process query result in pl/sql?

1128


How to read xml file in oracle pl sql?

913


What are the parts of a sql statement?

1090


What is the sql*loader? : aql loader

1051


What is a sql*loader control file?

1264


What is the difference between inner join and outer join?

996


Are stored procedures compiled?

919


What does plv msg allows you to do?

1141


Can we change the table name in sql?

941


How do I remove sql plus from windows 10?

1097


which types of join is used in sql widely? : Sql dba

982


What is a common use of group by in sql?

1051


What are the sql aggregate functions?

1131


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1131


what is a foreign key ? : Sql dba

1081