Skip to content

Instantly share code, notes, and snippets.

@remibreton
Created May 15, 2013 13:09
Show Gist options
  • Select an option

  • Save remibreton/5583894 to your computer and use it in GitHub Desktop.

Select an option

Save remibreton/5583894 to your computer and use it in GitHub Desktop.
SELECT field, count(*) FROM table GROUP BY field HAVING count(*) > 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment