Skip to content

Instantly share code, notes, and snippets.

@Yanovskiy
Created March 26, 2014 11:40
Show Gist options
  • Save Yanovskiy/9781405 to your computer and use it in GitHub Desktop.
Save Yanovskiy/9781405 to your computer and use it in GitHub Desktop.
Find duplicates MySQL
SELECT name, COUNT(*) c FROM table GROUP BY name HAVING c > 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment