Copying Query Data Into a Table (without using insert - into)

 I am looking for a way to copy a queries result set into a table, given the
query.
The final result is going to be a tree structure of a set of database
records.  I use the TDataset now, and apply filters, but that's just
hideously slow (3 minutes for 2800 records).  What I have in mind is to
index the tables that describe the structure, then use setrange, which is
wildly fast.  However, I can't do this from a query, hence my requirement to
shove it into a table.  Any thoughts? Alternatives?

Thanx for any help in advance.
Dave Bissett