时间:2021-07-01 10:21:17 帮助过:13人阅读
Mysql去除重复值列,只保留一条
1DELETE2FROM3 software USING (software,(SELECT DISTINCT min(id) AS id, ident FROM software GROUP BY ident HAVING count(1) > 1) AS t2)4WHERE5 software.ident = t2.ident6AND software.id > t2.id;
< 上一篇
mysqlxtrabackup增量备份_MySQL
下一篇 >
LINUX下编译安装最新版本mysql_MySQL
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册