SyntaxFix
Write A Post
Hire A Developer
Questions
You can use EXCEPT syntax, for example:
EXCEPT
SELECT var FROM table1 EXCEPT SELECT var FROM table2