Google News
logo
SQL Server - Quiz(MCQ)
Which of the following is a correlated subquery?
A)
Uses the result of an outer query to determine the processing of an inner query
B)
Uses the result of an outer query to determine the processing of an outer query
C)
Uses the result of an inner query to determine the processing of an inner query
D)
Uses the result of an inner query to determine the processing of an outer query

Correct Answer :   Uses the result of an inner query to determine the processing of an outer query


Explanation : A ‘correlated subquery’ is a term used for specific types of queries in SQL in computer databases. It is a subquery (a query nested inside another query) that uses values from the outer query in its WHERE clause.

Advertisement