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

Discussion

Which is not true of a correlated subquery?

  • A.EXISTS/NOT EXISTS is a form of a correlated subquery.
  • B.The processing of the SELECT statements is nested.
  • C.They can be used to verify functional dependencies.
  • D.They are very similar to a regular subquery.

Answer: D

Correct answer: They are very similar to a regular subquery.

This is the false statement. A correlated subquery differs fundamentally: it references a column of the outer query, so it cannot be evaluated independently and must be re-run for every candidate row. The other three are true - EXISTS and NOT EXISTS are the usual form, the processing is nested rather than bottom up, and the construct is exactly what is used to test a functional dependency in the data.

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

Post your comment

Please log in or register to post a comment.