I have 2 tables which have 2 columns in common. I want to get the rows from table 1 for which the combination of 2 columns does not exist in the other table.
For e.g:
TAB 1
Col1 Col2
1 2
1 3
2 1
2 2
TAB 2
Col1 Col2
1 2
1 4
2 1
2 0
Output should be:
Col1 Col2
1 3
2 2
For e.g:
TAB 1
Col1 Col2
1 2
1 3
2 1
2 2
TAB 2
Col1 Col2
1 2
1 4
2 1
2 0
Output should be:
Col1 Col2
1 3
2 2