Created
March 19, 2013 21:43
-
-
Save vladimir-e/5200409 to your computer and use it in GitHub Desktop.
SQL query to find duplicates in database (http://stackoverflow.com/questions/4440689/sql-how-to-find-duplicates-rows) #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 first_name, last_name | |
FROM users | |
GROUP BY first_name, last_name | |
HAVING COUNT(*) > 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment