K
Kevin
Hello,
I'm running the following query in my Acces DB:
select field_num,field2,field_name,SUM(sold_1_,sold_2,sold_3,sold_4) as
total_count from table1 INNER JOIN table2 ON table1.index=table2.foreign
WHERE [table1.update] >= '2007.11.1' AND [table1.update] <='2007.12.1' GROUP
BY field_num,field2,field_name
There are 8 records in the DB with the same field_num. So when I run this
query, I want to get 1 record with the total sum of all the sales counts.
Therefore I group by field_num. However, I still get 8 records. Can someone
tell me what is wrong with this query?
Thanks in advance,
Kevin
I'm running the following query in my Acces DB:
select field_num,field2,field_name,SUM(sold_1_,sold_2,sold_3,sold_4) as
total_count from table1 INNER JOIN table2 ON table1.index=table2.foreign
WHERE [table1.update] >= '2007.11.1' AND [table1.update] <='2007.12.1' GROUP
BY field_num,field2,field_name
There are 8 records in the DB with the same field_num. So when I run this
query, I want to get 1 record with the total sum of all the sales counts.
Therefore I group by field_num. However, I still get 8 records. Can someone
tell me what is wrong with this query?
Thanks in advance,
Kevin