Home  >  Article  >  Database  >  Oracle 删除指定字段重复的记录

Oracle 删除指定字段重复的记录

WBOY
WBOYOriginal
2016-06-07 17:02:39908browse

SQLgt; select * from t; ID NAME SCORE ---------- ---------- ---------- 3 smith

Oracle 删除指定字段重复的记录

[日期:2011-07-20] 来源:Linux社区  作者:aqszhuaihuai [字体:]

此外还可以使用临时表的方式,即将我们需要的数据(没有重复的数据)先放到临时表中,然后删除正式表中的数据,,最后将临时表中的数据插入到正式表中。

但是效率如何我还不知道哩,没有测试哩!

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn