Advanced SQL

Q1: 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.

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

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.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.