Comments on: Remove duplicate rows with Oracle SQL ROW_NUMBER – intelligent and efficient data cleansing http://technology.amis.nl/2011/08/02/remove-duplicate-rows-with-oracle-sql-row_number-intelligent-and-efficient-data-cleansing/ Friends of Oracle and Java Tue, 21 Oct 2014 18:48:09 +0000 hourly 1 http://wordpress.org/?v=4.0 By: Martin Schapendonk http://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
)
);
 
 

]]>