Well, since this *IS* in an Access or SQL Server database (I assume, since the syntax of the query matches those and you are using an OLEDB provider), one answer would be to use a different database tool to do the query.
Unless you *must* do this from within InfinityQS, I see no reason that wouldn't work.
Do you know what kind of DB it is?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.