zwass
SELECT * FROM foo WHERE foo.bar NOT IN (SELECT value FROM exclusions WHERE table = "foo" AND column = "bar")