2024年10月09日 建站教程
DELETE FROM tablename WHERE columnname IN (SELECT columnname FROM tablename GROUP BY columnname HAVING COUNT(*) > 1);
ps:上面语句执行后会删除重复的所有数据~
本文链接:http://so.lmcjl.com/news/14963/