I have 5 different tables with a query for each one. The tables have some common fields, not all the fields are same from one table to the other.
After running the query, I would like to put the results of these 5 queries into 1 table and then run 1 query from this table based on billing date.
What is the best way of putting these 5 queries into one table? What I am doing right now is when I run each query, then I run another query to append to the final table. Is there a way to run these 5 queries and append them to the final table without having to run another query for each one? What would make my queries run faster?
The 5 tables are about 3 million rows in total and is making everything so slow. Please help.
After running the query, I would like to put the results of these 5 queries into 1 table and then run 1 query from this table based on billing date.
What is the best way of putting these 5 queries into one table? What I am doing right now is when I run each query, then I run another query to append to the final table. Is there a way to run these 5 queries and append them to the final table without having to run another query for each one? What would make my queries run faster?
The 5 tables are about 3 million rows in total and is making everything so slow. Please help.