Created
April 8, 2019 10:41
-
-
Save laughedelic/eadd6b0dc7f3a95bfb1aa2fbdd482bcc to your computer and use it in GitHub Desktop.
See the difference between two tables on the given column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT | |
a.column AS a_column, | |
b.column AS b_column | |
FROM | |
a FULL JOIN b | |
ON a.column = b.column | |
WHERE | |
a.column IS NULL OR | |
b.column IS NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment