Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: removing duplicate records
Sorry about the extra characters... I love outlook...
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jackie Brock
Sent: Thursday, August 05, 2004 11:05 AM
To: oracle-l_at_freelists.org
Subject: RE: removing duplicate records
Try something like:
DELETE emp e1
WHERE EXISTS (SELECT 1 FROM emp e2=3D20
WHERE e2.id =3D3D e1.id AND e2.rowid > e1.rowid)=3D20
HTH
-J
![]() |
![]() |