I have a following table
------------
id name
------------
1 master
2 datagrid
3 zewa
4 leumas
5 delta
6 master
7 master
8 master
9 delta
I just want to remove duplicate (repeating) rows. So from the above table, all the rows for “master” and “delta” should be removed.
Note: I don’t want to use temporary table or any Alter statement. I just want to use a Delete query
IIRC MySQL does not allow you to reference the mutating table in an
INclause except by adding an additional layer of indirection.