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
what are archived logs?
How to create a temporary table in oracle?
What types of joins are used in writing subqueries?
In oracle there is column command, how will you explain that?
How to define an oracle cursor variable?
What is raw datatype?
A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.
What is an oracle transaction?
Explain the different normalization forms?
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
What are the data types in oracle?
What is the data pump import utility?
Explain integrity constraints?
What are the tools for Oracle ?
What is a system tablespace?