The SQL statement contains at least one correlated subquery. An attempt was made to use more than 64 correlated columns. At most 64 correlated columns can be used. Every single usage of a correlated column is counted.
Rearrange the SQL statement in such a way that 64 correlated columns suffice.Alternatively, you may want to try to achieve the effect of this SQL statement using several SQL statements.