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
Difference between hot backup vs. Cold backup?
How do I manually uninstall oracle client?
Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).
Explain about integrity constraint?
How to use "startup" command to start default instance?
How to create a table index in oracle?
How to find the duplicate rows count from employees table in oracle?
What are the uses of Database Trigger ?
How to assign values to data fields in record variables?
Can we call procedure inside function in oracle?
How do I know if oracle is installed on windows?
Describe varray?
How to install oracle database 10g xe?
What are the different types of partitions in oracle?
How to run queries on external tables?