Skip to main content
deleted 24 characters in body
Source Link
George G
  • 7.7k
  • 12
  • 48
  • 62

we can found the duplicates depends on more then one fields also.For those cases you can use below format.

 SELECT COUNT(*), column1, column2   FROM tablename  GROUP BY column1, column2  HAVING COUNT(*)>1; 

we can found the duplicates depends on more then one fields also.For those cases you can use below format.

 SELECT COUNT(*), column1, column2 FROM tablename  GROUP BY column1, column2  HAVING COUNT(*)>1; 

we can found the duplicates depends on more then one fields also.For those cases you can use below format.

SELECT COUNT(*), column1, column2   FROM tablename GROUP BY column1, column2 HAVING COUNT(*)>1; 
Source Link

we can found the duplicates depends on more then one fields also.For those cases you can use below format.

 SELECT COUNT(*), column1, column2 FROM tablename GROUP BY column1, column2 HAVING COUNT(*)>1;