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
  • 121,297
  • 15
  • 183
  • 252
Saif
  • 107
  • 2
  • 8

0 Answers0