mysql 中删除某个字段重复的SQL语句

来源:互联网 发布:合成照片软件app 编辑:程序博客网 时间:2024/04/30 21:53
delete evalustion as a from evaluation as a ,(select * from evaluation group by month having count(1) > 1) as b where a.month = b.month and a.id <> b.id;


0 0
原创粉丝点击