Created
July 25, 2012 18:46
-
-
Save aanari/3177837 to your computer and use it in GitHub Desktop.
SQL Return Duplicates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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