delete from t_productbilldetailvods nologging
where detailbillid in (select detailbillid
from t_productbilldetailvods
group by detailbillid
having count(detailbillid) > 1)
and rowid not in (select min(rowid)
from t_productbilldetailvods
group by detailbillid
having count(detailbillid) > 1);
oracle 删除重复行
最新推荐文章于 2023-05-23 12:05:58 发布
266

被折叠的 条评论
为什么被折叠?



