Skip to content

Instantly share code, notes, and snippets.

@pkruithof
Created September 21, 2011 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkruithof/1231701 to your computer and use it in GitHub Desktop.
Save pkruithof/1231701 to your computer and use it in GitHub Desktop.
Mysql duplicate columns
SELECT DISTINCT column1 FROM table GROUP BY column1 HAVING COUNT(column1) > 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment