Hi,
I know how to do a not in if I am just dealing with one field, but what if I have the following situation; how should I handle that?
I have two tables that would link on id, transaction_code and Transaction_date. For any record, any of these fields could be different. for example:
Table1 Table2
1 1/1/08 001 1 1/5/08 001
2 1/5/08 005 2 1/5/08 007
3 1/7/08 003 3 1/7/08 003
4 2/12/08 006 4 2/15/08 006
I want to create a query that gives me all records in Table1 where these fields are exactly the same also in Table2.
The result from the above example would be:
3 1/7/08 003
I can't seem to wrap my head around this particular issue.
Any help is greatly appreciated.
Thanks,
Neal
I know how to do a not in if I am just dealing with one field, but what if I have the following situation; how should I handle that?
I have two tables that would link on id, transaction_code and Transaction_date. For any record, any of these fields could be different. for example:
Table1 Table2
1 1/1/08 001 1 1/5/08 001
2 1/5/08 005 2 1/5/08 007
3 1/7/08 003 3 1/7/08 003
4 2/12/08 006 4 2/15/08 006
I want to create a query that gives me all records in Table1 where these fields are exactly the same also in Table2.
The result from the above example would be:
3 1/7/08 003
I can't seem to wrap my head around this particular issue.
Any help is greatly appreciated.
Thanks,
Neal