Hi All,
I have two group by queries that use the UNION to join them.
Here is my problem...
I have three fields that I do not want to be duplicated.
I want the two records (one from one side of the join and the other from the other side of the join) to role into one record that sums/totals the quantity and amounts.
The original UNION works but I just think I need to some how make that a sub query of an outer group by so it some how can get the duplicates (three fields) into one record.
Any ideas, maybe a generic template to get me started.
Do you need the actual query to help me?
Do you understand what I am asking?
Thank you for all your help
Tom
I have two group by queries that use the UNION to join them.
Here is my problem...
I have three fields that I do not want to be duplicated.
I want the two records (one from one side of the join and the other from the other side of the join) to role into one record that sums/totals the quantity and amounts.
The original UNION works but I just think I need to some how make that a sub query of an outer group by so it some how can get the duplicates (three fields) into one record.
Any ideas, maybe a generic template to get me started.
Do you need the actual query to help me?
Do you understand what I am asking?
Thank you for all your help
Tom