对某个字段去重

insert into 临时表 select distinct 去重字段 from 原表;

drop table 原表;

rename 临时表名 to 原表名;

posted @ 2014-11-03 11:40  喵尾景虎  阅读(277)  评论(0编辑  收藏  举报