Skip to content

Instantly share code, notes, and snippets.

@chris
Created October 14, 2008 16:35
Show Gist options
  • Save chris/16736 to your computer and use it in GitHub Desktop.
Save chris/16736 to your computer and use it in GitHub Desktop.
-- Find duplicates in SQL from multiple columns
select name, email from emails group by name, email having count(*) > 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment