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 do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
Can we save images in a database and if yes, how?
What is null value in oracle?
What is enter substitution variable in oracle?
How to see free space of each tablespace?
What is an index associated with a constraint?
What is the implicit cursor in oracle?
What is a trigger and what are its types in oracle?
What privilege is needed for a user to create views in oracle?
What is bulk load in oracle?
How do I call oracle stored procedures that take no parameters?
Give the advantages and disadvantages of clusters.
What do database buffers contain?
Explain the use of constraints option in exp command.
what's query optimization and without use of IN AND Exist can we get another way data from query