A simplified example of what i’m trying to achieve:
Table 1
FirstName | LastName | Age | Eye Color |
---------------------------------------|
John | Dunbar | 30 | Blue |
Jane | Austin | 98 | Green |
John | Dunbar | 21 | Red |
John | Dunbar | 23 | Brown |
Mr | T | ... |
One | More | ... |
Table 2
FirstName | LastName |
---------------------|
John | Dunbar |
Mr | T |
So, What I would like to create is Table 1 without all records matching table 2.
In other words, Table 3:
FirstName | LastName | Age | Eye Color |
---------------------------------------|
Jane | Austin | 98 | Green |
One | More | ... |
I’m not sure what’s the best “select” to get there. I’m guessing some smart usage of “join”, but not sure…
Table3 – select rows from Table1 which does not present in Table2
Table3 – select rows from Table1 which present in Table2