In 8.5 you can't modify the select and from clauses directly, but you could try creating a union statement like this:
select field1, field2, some number field
from table
where 1 = 0
union all
select field1, field2, sum(field3)
from table
where //etc.
group by //etc.
having // etc.
I'm not absolutely sure you can use "having" with a union all, but it might be worth a try.
However, I think you can get the same functionality just by using a group selection formula, e.g., go to report->edit selection formula->GROUP and enter:
sum({table.field},{table.group}) > 25000
-LB