J
John B. Smotherman
I'm writing a resource scheduler and am currently testing a duplicate finder.
I have three tables, Test 1, Test 2, Test3. The fields these three tables
contain are the same: ItemNumber, ItemName, MFR, Model, Serial
I've created a query to find duplicate item numbers in the three tables, but
what I get is the intersection of the comparison between Test1 and Test3 and
the comparison of Test2 and Test3. What I need is the full results of both
comparisons.
Here's the SQL:
SELECT Test3.ItemNumber, Test3.ItemName FROM (Test3 INNER JOIN Test1 ON
Test3.[ItemNumber] = Test1.[ItemNumber]) INNER JOIN Test2 ON
Test3.[ItemNumber] = Test2.[ItemNumber];
What change do I need to make? Thanks
I have three tables, Test 1, Test 2, Test3. The fields these three tables
contain are the same: ItemNumber, ItemName, MFR, Model, Serial
I've created a query to find duplicate item numbers in the three tables, but
what I get is the intersection of the comparison between Test1 and Test3 and
the comparison of Test2 and Test3. What I need is the full results of both
comparisons.
Here's the SQL:
SELECT Test3.ItemNumber, Test3.ItemName FROM (Test3 INNER JOIN Test1 ON
Test3.[ItemNumber] = Test1.[ItemNumber]) INNER JOIN Test2 ON
Test3.[ItemNumber] = Test2.[ItemNumber];
What change do I need to make? Thanks