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
What is primefaces used for?
How to turn on or off recycle bin for the instance?
What are the different types of partitions in oracle?
How to get a list of all user accounts in the database?
How to write a query with a right outer join in oracle?
What is bulk copy or bcp in oracle?
What's dateware house and what's clustor with practicle example
What is set verify off in oracle?
How to use existing values in update statements using oracle?
Can you assign multiple query result rows to a variable?
What are the major difference between truncate and delete?
Please explain joins in oracle?
How data locks are respected in oracle?
Can you have more than one content canvas view attached with a window ?
What are the ansi data types supported in oracle?