Quantcast
Viewing all articles
Browse latest Browse all 14773

Deleting duplicate rows in multiset table - response (7) by umitk

Hi,
Table Name : Table
Duplicate column : A
 
DELETE FROM TABLE WHERE
(
SELECT DISTINCT * FROM
     ( SELECT ROWID,T.* FROM TABLE T WHERE A IN ( SELECT A FROM TABLE GROUP BY A HAVING COUNT(1)>1)
)
I haven't tried it yet but I think this will help you.
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles