如果表有重复数据,如何删除重复数据求方法效率要考虑之前用拷贝的方法做SQL codecreate table tmp as (sel
如果表有重复数据,如何删除重复数据 求方法 效率要考虑
之前用拷贝的方法做
SQL code
create table tmp as (select distinct * from salgrade);drop table salgrade;create table salgrade as (select * from tmp);drop table tmp;select * from salgrade;