Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to delete duplicate rows without using group by or self join ?

DINESH EDVINMay 12 2016 — edited May 13 2016

How to delete duplicate rows without using group by or self join , that is without using below queries.

Delete from table where rowid not in ( select max(rowid) from table group by column);

Or

Delete from table x where rowid not in(select max(rowid) from table y where x.col = y.col)

Thanks in advance

Dinesh Kumar

This post has been answered by Vysakh Suresh - 3035408 on May 12 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2016
Added on May 12 2016
12 comments
2,183 views