Oct 9, 2003 #1 w3bm0nki MIS Apr 2, 2003 21 US I am working in Access XP and need to do the following. table1 - table2 = query_result Table1 and Table2 each have 4 fields that match. I want to show everything from table1 that does NOT exist in table2? Is this possible in access?
I am working in Access XP and need to do the following. table1 - table2 = query_result Table1 and Table2 each have 4 fields that match. I want to show everything from table1 that does NOT exist in table2? Is this possible in access?
Oct 9, 2003 #2 Golom Programmer Sep 1, 2003 5,595 CA Select A.* From Table1 As A LEFT JOIN Table2 As B ON A.f1 = B.f1 AND A.f2 = B.f2 AND A.f3 = B.f3 AND A.f4 = B.f4 WHERE B.f1 IS NULL Upvote 0 Downvote
Select A.* From Table1 As A LEFT JOIN Table2 As B ON A.f1 = B.f1 AND A.f2 = B.f2 AND A.f3 = B.f3 AND A.f4 = B.f4 WHERE B.f1 IS NULL
Oct 9, 2003 Thread starter #3 w3bm0nki MIS Apr 2, 2003 21 US Thanks, that's exactly what I needed! Upvote 0 Downvote