The number of correlated tables used within the correlated subqueries must not exceed 16.
Try to formulate the SQL statement in such a way that 16 correlated tables are sufficient. Should this not be possible you have to use several SQL statements to achieve the desired effect.