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

Discussion

A regular subquery can be processed:

  • A.
    from the top down.
  • B.from the bottom up.
  • C.
    by nesting.
  • D.None of the above is correct.

Answer: B

Correct answer: from the bottom up.

A regular subquery does not depend on the outer query, so it can be evaluated once, on its own, and its result then used by the query above it - bottom up. A correlated subquery references a column of the outer query and must therefore be re-evaluated for each candidate row, which is why it is described as nested and why it is generally the more expensive of the two.

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

Post your comment

Please log in or register to post a comment.