I am running a query with 115k "product numbers" in order to minimize the size of the return. I am getting the error below, I have executed queries where the return has been billions of rows and have never experienced this before.

I have the select tool and it does not see the fields in the query.

I have ZERO, ZILCH, NADA, of an idea of what it could be. Any assistance will be immensely appreciated.
Cheers,
Fausto