I want to delete duplicate records from a mysql table. It is executing fine, but it is displaying "no rows affected"?
DELETE n1 
FROM dummyuser1  n1, dummyuser1 n2
WHERE  n1.id > n2.id and  n1.name = n2.name; 
The above query is executing but it is displaying "no rows affected".
 
    