How does the processing of a correlated subquery differ
from a non correlated subquery?

Answer Posted / s

For every qualifying row in the outer query the correlated
subquery is evaluated. The correlated subquery has
reference to atleast one column of the outer query.

Non-correlated subquery does not make any reference to the
other query. The subquery is only executed once and the
results are used by the outer query to find the qualifying
rows.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is db2 purescale?

553


What is node in db2?

610


What is the difference between cursor stability and repeatable read isolation levels?

690


What are db2 objects?

641


What is load replace in db2?

562






Explain in detail about buffer manager and its functionalities?

570


What is the use of predicate?

588


How will you return the number of records in table?

518


What is the role of data manager in the db2 database?

649


How many databases can be created inside an instance in db2 ?

605


Is db2 relational database?

574


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

10784


Explain dclgen.

728


What are db2 tables?

651


How is a typical db2 batch pgm executed?

644