Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Duplicate records
delete from table_name
where rowid in
(select min(rowid) from table_name
group by col1, col2, coln
having count(0) > 1)
Cheers
Allan
"Screamer" <mflopes_at_bigfoot.com> wrote in message
news:94q1l9$ejm$1_at_venus.telepac.pt...
> Can someone post a piece of SQL that deletes duplicate records in a table,
> please ?
>
>
Received on Thu Jan 25 2001 - 17:26:52 CST