2019年6月18日

oracle 去掉重复

摘要: 当去掉一个字段的重复时 查找重复 select 字段 from 表名称 group by 字段 having count(1)>1 删掉重复 只保最小的一行 delete from 表名称 where 字段 in (select 字段 from 表名称 group by 字段 having coun 阅读全文

posted @ 2019-06-18 14:48 幕后的手机 阅读(420) 评论(0) 推荐(0) 编辑

导航