What is correlated subquery?
A274) A correlated subquery is one that has a correlation name as a table or view designator in the FROM clause of the outer query and the same correlation name as a qualifier of a search condition in the WHERE clause of the subquery. For example: SELECT col_name1,col_name2 FROM table_A x1 WHERE col_name3 < ( SELECT Avg(column_name3 FROM table_A WHERE col_name4 = x1.