Skip to content

Instantly share code, notes, and snippets.

@latompa
Created October 30, 2009 02:29
Show Gist options
  • Save latompa/222042 to your computer and use it in GitHub Desktop.
Save latompa/222042 to your computer and use it in GitHub Desktop.
find duplicate records
SELECT name,
COUNT(name)
FROM users
GROUP BY name
HAVING ( COUNT(name) > 1 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment