In article <4E116E11(dot)1030209(at)gmail(dot)com>,
Daron Ryan <daron(dot)ryan(at)gmail(dot)com> writes:
> Hello David,
> This is a simplified version of my own attempt:
> SELECT *
> FROM ("oxford", "webster")
> WHERE NOT ( columnName = ANY (SELECT name FROM dictionaries))
> The idea is that "oxford" and "webster" come from the Java program end up
> in the column called columnName.
If the list is not very long, you could use a VALUES expression:
SELECT g.x
FROM (VALUES ('oxford'), ('webster')) AS g(x)
WHERE g.x NOT IN (SELECT name FROM dictionaries)