会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
haohaizi
博客园
首页
新随笔
联系
订阅
管理
2016年7月12日
sql 当重复的数据有多条时,保留一条,删除其他重复
摘要: delete from proj_info where newcode in (select newcode from proj_info group by newcode having count(newcode) > 1) and NID not in (select min(nid) from
阅读全文
posted @ 2016-07-12 14:14 haohaizi
阅读(1176)
评论(0)
推荐(0)
公告