create temporary table tmp as SELECT test.name name,test.age age from test GROUP BY test.name,test.age HAVING count(*)>1; delete from test where EXISTS (select * from tmp where test.age=tmp.age and test.name=tmp.name); 根据楼主的语句改的。可行。
点赞 评论

相关推荐

季桑陌:这怎么看是不是外包啊
点赞 评论 收藏
分享
04-25 19:29
已编辑
宁波大学 运营
被普调的六边形战士很高大:你我美牛孩
点赞 评论 收藏
分享
牛客网
牛客企业服务