0
應該在oracle中刪除重複的行不是下面的查詢做工精細刪除重複的行中的Oracle
SQL> delete from sessions o
where 1<=(select count(*)
from sessions i
where i.id!=o.id
and o.data=i.data);
這似乎刪除所有重複行! (我希望保持1強硬)
可能重複的[在Oracle中刪除表中的重複行](http://stackoverflow.com/questions/529098/removing-duplicate-rows-from-table-in-oracle) – Ollie 2012-07-30 15:38:42
感謝您的解決方案,但爲什麼這dosent似乎工作正常? – Akash 2012-07-30 15:41:21