Comments on: Remove duplicate rows with Oracle SQL ROW_NUMBER – intelligent and efficient data cleansing https://technology.amis.nl/2011/08/02/remove-duplicate-rows-with-oracle-sql-row_number-intelligent-and-efficient-data-cleansing/ Friends of Oracle and Java Thu, 23 Apr 2015 12:54:46 +0000 hourly 1 http://wordpress.org/?v=4.2 By: Martin Schapendonk https://technology.amis.nl/2011/08/02/remove-duplicate-rows-with-oracle-sql-row_number-intelligent-and-efficient-data-cleansing/#comment-6848 Wed, 03 Aug 2011 14:45:55 +0000 http://technology.amis.nl/blog/?p=13116#comment-6848 Alternative without analytic functions:
delete from medal_score
where rowid in (
select rowid
from medal_score t
where exists (
select 1
from medal_score
where oly_id = t.oly_id
and cty_id = t.cty_id
and medal = t.medal
and rowid > t.rowid
)
);
 
 

]]>