This is a very basic query (related to this one) I can't figure out …
Let's say I have a two column table like this:
A - B
1 - 1
1 - 2
1 - 3
2 - 1
3 - 1
3 - 4
I want to get all distinct As that do not have a B of 2 or 3. Using the above example, the only results I want returned is As 2 and 3. How do I do this?