您的位置:首页 > 其它

利用分析函数删除重复数据

2014-03-19 19:50 369 查看
delete from dupes where rowid in (select rowid  from (select a.*,row_number()  over(partition by name order by name) as rn from dupes a)
where rn>1);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: