how to delete all duplicate records from a table using
subquery?
Answer Posted / dharmendra
delete from emp e1 where rowid >(select min(rowid) from emp
e2 where e1.empid=e2.empid)
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Why do we need integrity constraints in a database?
Explain an integrity constrains?
How to define a record variable to store a table row?
What is an oracle tablespace?
What is rowid and rownum in oracle?
What is a table index in oracle?
what are the advantages of running a database in archive log mode?
In which language oracle has been developed?
What is a initialization parameter file in oracle?
Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).
Does facebook use oracle?
What are the differences between number and binary_float in oracle?
What would you do with an in-doubt distributed transaction?
Explain the use of file option in exp command.
How to connect to a local oracle 10g xe server?