Last active
March 30, 2018 08:08
-
-
Save artem-a/8c0869bade09014d21c4e4de9a084ba4 to your computer and use it in GitHub Desktop.
Find duplicate values with SQL
This file contains hidden or 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 * from tb as t1 | |
where (select count(1) from tb as t2 where t1.column ilike t2.column) > 1 | |
order by column; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment