Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Duplicate rows

Re: Duplicate rows

From: Viktor <stant_98_at_yahoo.com>
Date: Wed, 06 Feb 2002 09:25:17 -0800
Message-ID: <F001.004077A4.20020206083826@fatcity.com>

Here is a query that was posted here a while ago: delete from pa_answer
where rowid in (select rowid
from p_answer pa
where rowid > (select min(pa2.rowid)
from p_answer pa2
where pa.p_id = pa2.p_id and pa.p_name = pa2.p_name))

This should help.

Viktor


Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Viktor
  INET: stant_98_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Feb 06 2002 - 11:25:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US