独(*^__^*)眸

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

delete * from (select a.*,a.rowid from table a where rowid !=(select max(rowid) from table b where a.apply_id=b.apply_id and a.user_id=b.user_id))

posted on 2015-11-24 00:47  独(*^__^*)眸  阅读(192)  评论(0编辑  收藏  举报