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
How to name query output columns in oracle?
What is oracle open database communication (odbc)?
Why is oracle used?
how the indexes are stored in the Oracle Database?
How to use in conditions in oracle?
What is the dynamic sql in oracle?
How many data types are supported?
Explain the use of parfile option in exp command.
What is save point in oracle database?
What is redo log?
what's query optimization and without use of IN AND Exist can we get another way data from query
how can db_files > maxdatafiles since db_files is for instance and the later is for database
How to retrieve values from data fields in record variables?
How do I spool in oracle?
What is SQL Tuning Advisor in Oracle?