how to delete all duplicate records from a table using
subquery?
Answer Posted / noor
DELETE FROM T1
WHERE ROWID IN (SELECT ROWID FROM T1
WHERE ROWID NOT IN(SELECT MAX(ROWID) FROM
T1 GROUP BY C1,C2));
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How many types of segments in Oracle?
What is the difference between 10g OEM and 11g OEM?
How to find out what oracle odbc drivers are installed?
How many types of cluster table in Oracle?
What is rich query?
What is rowid and rownum in oracle?
what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?
How to use "in" parameter properly?
What is a subquery in oracle?
Differentiate between post-database commit and post-form commit?
What are the different types of failures that occur in Oracle database?
What are the four Oracle system processes that must always be up and running for the database to be useable?
Can I create users through internet explorer in oracle 10g?
How to delete a user account in oracle?
What is the difference between truncate & delete command?