If I print:
SELECT name FROM table WHERE name NOT IN ('Test1','Test2','Test3');
I can get entries from a table that are not in the list. I want to do the opposite: get values ββfrom a list that is not in the table. For example, if there is a column in the table with the name name that has the values ββ"Test1" and "Test3", I want to compare this with ("Test1", "Test2", "Test3") and return Test2. Or, as another example, if the table is empty, then return everything in the list: Test1, Test2 and Test3.
Is there any way to do this WITHOUT creating a new table with all the values ββin the list?
Trinculo
source share