Examveda
Examveda

Which of the following is a correlated subquery?

A. Uses the result of an inner query to determine the processing of an outer query.

B. Uses the result of an outer query to determine the processing of an inner query.

C. Uses the result of an inner query to determine the processing of an inner query.

D. Uses the result of an outer query to determine the processing of an outer query.

Answer: Option B

Solution(By Examveda Team)

Correlated subquery references a column in the outer query and executes the subquery once for every row in the outer query while Uncorrelated subquery executes the subquery first and passes the value to the outer query.

This Question Belongs to Database >> Advanced SQL

Join The Discussion

Related Questions on Advanced SQL