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 the difference between correlated sub queries and
inner queries?

Answer Posted / yuvaevergreen

As said above, the main difference between a correlated Sub
Query and an inner query is that in a correlated sub query,
the inner query refers back to the column(s) in the outer
query i.e., the inner query is executed for each row of the
outer query.In the below query, the avg(salary) query is
executed for each row in the outer query.
-->>
sel * from employee as e where salary > (sel avg(salary) from
employee as b where e.deptno=b.deptno);

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we collect statistics on table level?

1012


How is MLOAD Client System restarted after execution?

1124


How to run a query in teradata?

1055


What is the use of having index on table?

985


What is the command in bteq to check for session settings ?

1168


What are the enhanced features in teradata v2r5 and v2r6?

1112


Difference between multiload and tpump?

1081


In the Primary Index, what is the score of AMPs that are actively involved?

1054


What is a sparse index?

1068


Highlight the advantages of PPI(Partition Primary Index).

1064


What are the frequently used data types in teradata?

1057


Did you write stored procedures in teradata?

1113


What is a node in teradata?

981


How do you define Teradata?

1022


What is meant by a node?

1034