|
Hi Krishna
SELECT A,B,C,D, count(*)
FROM MyTable
GROUP BY A,B,C,D
HAVING count(*) > 1
This query should help you identify the duplicate rows. This would group all the records with the values of columns A,B,C and D and then count the no. of rows in that group. If the Count is more than1 then its a duplicate.
Hope this helps.
Sangeetha Edited by: jsangeetha |