如果是重复的内容只保留一条,可以试试 delete from t where id not in ( select id from t group by c1, c2, c3, c4)
如果所有重复的内容都删掉可以试试 delete from t where id not in ( select id from t group by c1, c2, c3, c4 having count (*) < 2)
Copyright © 广州京杭网络科技有限公司 2005-2025 版权所有 粤ICP备16019765号
广州京杭网络科技有限公司 版权所有