How can I find all the unmatched records in the same table? I need to find all the parts that aren’t setup in a second warehouse. The table contains a record for each warehouse and part combination. The unique key to the table is WH_ID and PART_ID.
Example:
Example:
Code:
Table Name: WH_PART
WH_ID & PART_ID
---------------
A, 1
B, 1
A, 2
B, 3
So the query should return:
B, 2 and A, 3