第一种:
1.create table zqf_tmp3 as(Select distinct * from table);
2. Delete table;
3.insert into table as (select * from zqf_tmp3);
第二种
delete from 维修 where exists(select 1 from 维修 a where a.id>维修.id and 维修.电话=a.电话 and soso) (没试。呵呵 )
第一种:
1.create table zqf_tmp3 as(Select distinct * from table);
2. Delete table;
3.insert into table as (select * from zqf_tmp3);
第二种
delete from 维修 where exists(select 1 from 维修 a where a.id>维修.id and 维修.电话=a.电话 and soso) (没试。呵呵 )