`
zhangweioak
  • 浏览: 61955 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

ORACLE删除重复记录

 
阅读更多
delete from tablename where id not in (select max(id) from tablename group by col1,col2,...)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics