how to delete all duplicate records from a table using
subquery?
Answer Posted / edara satish
delete from
<<table_name>>
where rowid in
(select a.rowid
from <<table_name a,table_name b>>
where a.colname = b.colname
b.colname2 = b.colname2
......
...
a.colnamen = colnamen
order by .... desired colnames)
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How to execute a stored procedure in oracle?
How to view existing locks on the database?
What are dml statements in oracle?
How to initialize variables with default values?
What are the different types of partitions in oracle?
Explain the different normalization forms?
How do I manually uninstall oracle client?
How to see free space of each tablespace?
How to use an explicit cursor without open statements?
What is the usage of synonyms?
Explain integrity constraint?
What is a cursor in oracle?
How to find the duplicate rows count from employees table in oracle?
What is difference between sid and service name in oracle?
What is archive log in Oracle?