Simple SQL query to get duplicate values in a table
select a.field1, a.field2,a.field3, a.field4
from table a
where 1 < (select count(*)
from table b
where b.field1 = a.field1
and b.field2 = a.field2
and b.field3 = a.field3)
Comments have been disabled for this content.