SyntaxFix
Write A Post
Hire A Developer
Questions
... or if you really want to use NOT IN you can use
NOT IN
SELECT * FROM match WHERE id NOT IN ( SELECT id FROM email WHERE id IS NOT NULL)