A correlated subquery (also known as a synchronised subquery) is a subquery (a query nested within another query) that leverages values from the outer query in a SQL database query. It can be slow since the subquery may be evaluated once for each row processed by the outer query.