tjbee wrote:
I am deleting rows from the original query itself
Could you let us see some code? I am sure it will inspire suggestions straight away.
In any case, as I said before, you could do that as a query of a query. That is convenient because you will end up with a smaller result set. You could then use this smaller query as you would the original.