Created
December 30, 2019 15:28
-
-
Save KirillPashkov/4871a92ef7e34bed310747848b462886 to your computer and use it in GitHub Desktop.
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 t1.c1, t2.c1 from t1 left join t2 on t1.c1=t2.c1 | |
union all | |
select t1.c1, t2.c1 from t1 right join t2 on t1.c1=t2.c1 | |
where t1.c1 is null | |
order by 1, 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment