I have 2 tables:
T1(IDa,IDb) : has data like this
IDa IDb
1 2
3 4
5 6
7 8
and T2(IDc,IDd) : with data like this
IDc IDd
1 2
4 5
3 6
7 8
and the Identity for each table is the pair of IDs:
- T1, Identity is IDa and IDb
- T2 is IDc and IDd
The question is: How to retrieve the "Not matched" records from the two tables??? In this case,
- the matched are 1,2 and 7,8
- the "not matched" are: 3,4 $ 5,6 $ 4,5 $ 3,6
I can do that using strings and concatenation. Did anyone have a method using inner join or any other method??