会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fengwm
博客园
首页
新随笔
联系
订阅
管理
2021年5月17日
sql中删除重复数据,保留一条
摘要: 将数据去重复后暂存到临时表#temptable中 select distinct * into #temptable from table1 where 条件 delete table1 where 删除限制条件 insert into table1 select * from #temptable
阅读全文
posted @ 2021-05-17 18:22 fengwm
阅读(749)
评论(0)
推荐(0)