新建一个临时表(name为数据是否重复的依据)
create table tmp as select * from youtable group by name
drop table youtable
alter table tmp rename youtable
这个方法,应该是最容易理解,和相对比较快的了
create table tmp as select * from youtable group by name
drop table youtable
alter table tmp rename youtable
这个方法,应该是最容易理解,和相对比较快的了