oracle--删除表中指定字段重复值
tbl表中有两个字段:name,pricecreate table tbl(name,varchar2(20),price number(10));delete from tbl where rowid not in(select max(t1.rowid) from tbl t1 group by t1.price);虽然删除了指定字段中重复的值,但会为其保留最后一个值,也就是说,如果字
原创
2006-04-08 22:56:00 ·
1968 阅读 ·
0 评论