mysql删除重复数据

删除重复数据
create temporary table tmp_wrap select * from invest_institution_guild_mapping group by invest_institution_id,guild_id;
truncate table invest_institution_guild_mapping;
insert into invest_institution_guild_mapping select * from tmp_wrap;

你可能感兴趣的:(mysql)