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 the differences between lov and list item?
What is sharded cluster?
How to assign a table row to a record variable?
How to enter a new row into a table interactively?
How to create additional tablespaces for an new database?
Explain oracle’s server parameter file.
What do you mean by redo log file mirroring?
What is the relationship among database, tablespace and data file?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
What is ordinary table in oracle?
Explain an index?
In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?
What is using clause and give example?
Explain the difference between a procedure and a function?
What are the restrictions on external table columns?