Oracle删除数据库重复计录--CTO

来源:互联网 发布:淘宝上哪家黄桃罐头好 编辑:程序博客网 时间:2024/05/16 14:16

 

delete from tableName n where rowid !=  (select max(rowid) from tableName s where n.name=s.name and n.tid=s.tid)

原创粉丝点击