Answer the question
In order to leave comments, you need to log in
How to remove duplicate records in a table?
There is a table. There are duplicate entries. How can I remove them? I've been going crazy all day.
I do so
delete from `admin_eda`.`eda`
where `eda`.`id` not in (
select min(`eda`.`id`)
from `admin_eda`.`eda`
group by `eda`.`name`
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question