G
Guest
could someone give me assistance with this query?
I need to select records from a table where FIELD A in REC 1 is equivalent
to FIELD b in REC2. If fields match I need to combine (sum) numeric fields
in these records and create one "total" record and insert that record into a
new table. I am new to SQL and am having difficulty. I know the GROUP bY
statement will combine like fields, but the fields that I am comparing are
not the same fields. ANy ideas? Thanks!
I need to select records from a table where FIELD A in REC 1 is equivalent
to FIELD b in REC2. If fields match I need to combine (sum) numeric fields
in these records and create one "total" record and insert that record into a
new table. I am new to SQL and am having difficulty. I know the GROUP bY
statement will combine like fields, but the fields that I am comparing are
not the same fields. ANy ideas? Thanks!