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
Can we call procedure inside function in oracle?
How to assign data of the deleted row to variables?
Where do you use decode and case statements?
How do I call oracle stored procedures that take no parameters?
What is hash cluster in oracle?
How to drop an index in oracle?
how to convert .db (extention) database file into .dmp (extention ) for oracle database ?
What are the ansi data types supported in oracle?
How to rename a tablespace in oracle?
How do I know if oracle is installed on windows?
How to declare a local variable?
What is coalesce function?
If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
What happens if the imported table already exists?
Can I create users through internet explorer in oracle 10g?