首页 > TAG信息列表 > smokevehicleid

数据去重

delete from xx   where smokevehicleid not in ( select t.max_id from (select max(smokevehicleid) as max_id from xxx group by smokeno) as t ); delete from xxx  a where a.SmokeNo in (select SmokeNo from xxx where smokevehicleid not in (