I have a list of values, say 1,2,3,4,5,6. I have a SQL table with a field storing these values but only three rows, say, 2,4,5. What sort of query will return three rows 1,3,6 for me? (storing all six in another table and left join’ing is cheating.)
I have a list of values, say 1,2,3,4,5,6 . I have a SQL table
Share
You could also try using EXCEPT (similar to MINUS in Oracle):
Or, more relevant to your example:
where Field contains 2, 4, and 5.