I've got table with following columns:
id,name,attribute_id,params_desc
The data in table looks like this:
0,'some',1,'something'
1,'some',2,'somethingelse'
2,'some',3,'somethingelses'
3,'some',1,'something'
What I need is to remove duplicates, which have the same name
and attribute_id
.
I was unable to find some working solution here, as DISTINCT
or UNIQUE INDEX
or INSERT IGNORE
did not work for me.
Thx for your time.