how to delete all duplicate records from a table using
subquery?
Answer Posted / sunil
delete emp where empno not in(select distinct empno from emp);
For example we have duplicates in empno column then write
query like above...whatever column u want u can write..
Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
What is the usage of merge statement?
Does facebook use oracle?
Is a rollback possible to any savepoint?
How can I convert single byte kana characters into multi byte kana characters and vice-versa.
How to view existing locks on the database?
What is the relation of a user account and a schema?
How to use "while" statements in oracle?
What is memory advisor in Oracle?
How many types of synonyms in Oracle?
What is truncate oracle?
What is Undo Management Advisor in Oracle?
How to assign a tablespace to a users in oracle?
query optmization techniques and quwry analyser+projects+ppts
When do you get a .pll extension in oracle?
How index is implemented in oracle database?