当前位置:Gxlcms > 数据库问题 > mysql重复数据下,删除一条重复数据

mysql重复数据下,删除一条重复数据

时间:2021-07-01 10:21:17 帮助过:2人阅读

delete from information where id in (select id from (select max(id) as id,count(*) as ccc from information  GROUP BY encoding HAVING ccc>1 ) as tab)

 

mysql重复数据下,删除一条重复数据

标签:

人气教程排行