I would like to make a query that get the source data from another query in Delphi. How can I do this?