This website is dedicated to common, day to day programming and database related Frequently Asked Questions. Popular Programming and Database Articles under one blog
Thursday, April 16, 2009
Finding duplicates with SQL?
Suppose Col1 is the field name for which you want to find duplicates:
Select Col1, Count(Col1) as count from table1 group by Col1 having Count(Col1) > 1
No comments:
Post a Comment