how to delete all duplicate records from a table using
subquery?

Answer Posted / maninder

delete from abc where rowid not in (select max(rowid) from
abc group by column_name_with_dup.values.);

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integrity and what is constraint??Explain with example

2007


How to convert raw data type into text in oracle? Explain

817


What are internal user account in oracle?

770


Explain the use of rows option in imp command.

806


What is null value in oracle?

861


Explain the use of indexes option in imp command.

815


Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.

2092


Explain an extent?

887


How to get the Installed Oracle Version Information ?

872


hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.

2168


How to rename an index?

821


Explain the use of inctype option in exp command.

824


What is a proxy object?

817


What do you understand by database schema and what does it hold?

960


How many anonymous blocks can be defined?

834