The internal length of a table's join columns must not exceed 1020 bytes. Join columns are the columns that are contained in a JOIN predicate.
WHERE (S.A = T.V AND S.B < T.W)
The join columns of the table S are the columns S.A and S.B. The internal length of the join columns of S is the internal length of the column S.A plus the internal length of the column S.B. The internal length of the join columns of S must not exceed 1020 bytes.
You can attempt to achieve the expected result by issuing several QUERY statements and creating tables as temporary results.