mysql >> CREATE TABLE tmp AS SELECT * FROM youtable GROUP BY name;
mysql >> DROP TABLE youtable;
mysql >> ALTER TABLE tmp RENAME youtable;表太大的话,可以用Python写个脚本来处理重复, 也是很简单的!
mysql >> CREATE TABLE tmp AS SELECT * FROM youtable GROUP BY name;
mysql >> DROP TABLE youtable;
mysql >> ALTER TABLE tmp RENAME youtable;
被折叠的 条评论
为什么被折叠?