Machine-translated by Google. Questions are authored in English.
Top

Discussion

A correlated subquery is where the outer query depends on data from the inner query.

  • A.True
  • B.False

Answer: B

Correct answer: False

The dependence runs the other way. In a correlated subquery the inner query refers to a column of the outer, so it must be evaluated afresh for each row the outer query considers. That is what makes it correlated, and what makes it potentially expensive.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.