SQL: Too many UNIONs (Error 1834)

The maximum number of UNIONs (10) has been exceeded. For more information, see SELECT - SQL.