Q1
What is a correlated subquery in SQL?
hardView Answer & ExplanationHide Answer & Explanation
Correct Answer: A subquery that references a column from the outer query and is re-evaluated for each row of the outer query
Explanation:
Because a correlated subquery runs once per outer row, it can be slower on large tables compared to an equivalent join, though it is sometimes the clearest way to express a condition.