Last active
August 14, 2018 02:14
-
-
Save rpuglielli/e350d070e4ebcc14fc6a04ad3d2b995a to your computer and use it in GitHub Desktop.
SQL to find duplicated rows
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 field, Count(*) | |
FROM table_name | |
GROUP BY field | |
HAVING Count(*) > 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment