Replicating Aggregation Queries or Importing

Hi all,

Is there a way to easily replicate aggregation queries or a table where I can export and import into the database directly? I have to create a lot of queries based on identical data elements but distinguished by program stage and wouldn’t really want to do this manually.

Any ideas out there?

Cheers

Busoye