Friday 31 October 2014

Find Duplicate Fields in a table

select field1,field2,field3, count(*)
  from table_name
  group by field1,field2,field3
  having count(*) > 1

No comments:

Post a Comment

Note: only a member of this blog may post a comment.