在oracle中,有些数据完全一样,要清除掉重复的,只保留一条不重复的数据。 delete table1 where rowid not in ( select max(rowid) from table1 group by col1 ,col2 ) DELETE table s WHERE rowid < (SELECT MAX(rowid) FROM table q WHERE q.name = s.name) (责任编辑:IT) |
在oracle中,有些数据完全一样,要清除掉重复的,只保留一条不重复的数据。 delete table1 where rowid not in ( select max(rowid) from table1 group by col1 ,col2 ) DELETE table s WHERE rowid < (SELECT MAX(rowid) FROM table q WHERE q.name = s.name) (责任编辑:IT) |
声明:此整理信息并不代表oracle官方,不保证信息的完全正确,仅供参考。[转自 中国存...
CentOS6.5安装Oracle Express Edition Oracle Express Edition是给个人学习、熟悉Orac...