create new_tab as (select distinct * from old_tab);
drop old_tab;
rename new_tab;---把新的表重命名为旧的表名。
数据库去重
最新推荐文章于 2024-11-05 10:22:37 发布
create new_tab as (select distinct * from old_tab);
drop old_tab;
rename new_tab;---把新的表重命名为旧的表名。