1

I have to find out all the duplicate records in an table. i could get it done by using the following query

SELECT column4
FROM Table1
GROUP BY column1,column2,column3
HAVING COUNT(*) > 1

but while the table contain huge records the group by is becoming very slow. is there any faster way to do it...?

MarcinJuraszek
  • 124,003
  • 15
  • 196
  • 263
Saif
  • 137
  • 2
  • 8

0 Answers0