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

What is the difference between fastload and multiload?

1289


If Fast Load Script fails and only the error tables are made available to you, then how will you restart?

1089


In Teradata, how do we Generate Sequence?

980


List out teradata data types?

956


What are the various indexes in teradata? How to use them? Why are they preferred?

996


How to load specific no.of records using bteq, or fastload,or multiload

1691


How do you verify a complicated sql?

1011


What is called partitioned primary index (ppi)?

959


What exactly do you know about catching in teradata?

991


Explain some differences between mpp and smp?

1035


What do high confidence, low confidence and no confidence mean in explain plan?

980


List the logical and conditional operators that are used with teradata along with their meanings?

938


What is the use of fallback?

939


Define views in teradata with general syntax.

981


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

1041