mysql 删除相同数据

[复制链接]
admin 发表于 2019-12-24 16:46:07 | 显示全部楼层 |阅读模式 0
delete from student where id not in (select minid from (select min(id) as minid from student group by name) b)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则