A regular subquery can be processed:
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.
Please log in or register to report this question.