MySQL重复数据

delete from porn where Id not in (select minid from (select min(id) as minid from porn group by viewkey) b);

posted @ 2016-07-01 16:22  陈泽泽  阅读(122)  评论(0编辑  收藏  举报