Hi All.
I have a materials table with MatID (alphanumeric text), MatDesc (text) and MatQty (number) - approx 1200 recs. And I received another table from a branch office with same structure but nearly 1750 recs.
Now, I need to compare both using a query. But the result has to be as follows.
A) What are the MatID's that are same in both tables, but have a count that is more than that of old table. (ie. multiple new records of same MatID have been added in new table)
B) What are the MatID's that are totally "new" in the New table with their count.
How can I do this ?
I think joins will work, but the exact syntax....
Can someone please help ?
I have a materials table with MatID (alphanumeric text), MatDesc (text) and MatQty (number) - approx 1200 recs. And I received another table from a branch office with same structure but nearly 1750 recs.
Now, I need to compare both using a query. But the result has to be as follows.
A) What are the MatID's that are same in both tables, but have a count that is more than that of old table. (ie. multiple new records of same MatID have been added in new table)
B) What are the MatID's that are totally "new" in the New table with their count.
How can I do this ?
I think joins will work, but the exact syntax....
Can someone please help ?