oracle 查找或删除重复记录的语句
2011-04-13 11:24
429 查看
--oracle查找重复记录
select * from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
--oracle删除重复记录
delete from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
select * from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
--oracle删除重复记录
delete from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
相关文章推荐
- Oracle 删除重复数据只留一条 查询及删除重复记录的SQL语句 1、查找表中多余的重复记录,重复记录是根据单个字段(Id)来判断 select * from 表 wher
- oracle 查找或删除重复记录的语句
- Oracle 删除重复数据只留一条 查询及删除重复记录的SQL语句 1、查找表中多余的重复记录,重复记录是根据单个字段(Id)来判断 select * from 表 wher
- Oracle 查找与删除表中重复记录的步骤方法
- Oracle中用Rowid查找和删除重复记录
- 如何使用Oracle查询并删除重复记录的SQL语句
- Oracle 查询并删除重复记录的SQL语句
- Oracle几种查找和删除重复记录的方法总结
- 在Oracle中如何利用Rowid查找和删除表中的重复记录
- Oracle 查询并删除重复记录的SQL语句
- Oracle几种查找和删除重复记录的方法总结
- oracle sql 查找,删除 重复记录的语句
- 如何使用Oracle查询并删除重复记录的SQL语句
- Oracle 查询并删除重复记录的SQL语句
- Oracle如何查找、删除表中重复的记录
- Oracle 查找并删除表中的重复记录
- Oracle 查询并删除重复记录的SQL语句
- 删除oracle 表中重复数据sql语句、保留rowid最小的一条记录
- Oracle 查询并删除重复记录的SQL语句
- 在Oracle中如何利用Rowid查找和删除表中的重复记录(转)