Skip to content

Instantly share code, notes, and snippets.

@aanari
Created July 25, 2012 18:46
Show Gist options
  • Save aanari/3177837 to your computer and use it in GitHub Desktop.
Save aanari/3177837 to your computer and use it in GitHub Desktop.
SQL Return Duplicates
select afield1,count(afield1) from atable
group by afield1 having count(afield1) > 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment