Delete duplicate records in the emp table.
Answer Posted / ch. nageswar subudhi
For delete the DUPLICATE RECORD from Table by using this
Query:
DELETE FROM EMP E
WHERE E.ROWID <>(SELECT MIN(ROWID) FROM EMP E2 WHERE
E.EMP_NO=E2.EMPNO);
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is sql query optimization?
Can you rollback after commit?
What is a table partition?
What is break?
What is the use of pl/sql table?
What is the need of a partition key?
What is identity column in sql server?
What is flag in sql?
what is timestamp in mysql? : Sql dba
What is the difference between having clause and where clause?
Does sql view stored data?
What is the largest value that can be stored in a byte data field?
what is the use of friend function? : Sql dba
What are pl/sql cursors?
how to convert dates to character strings? : Sql dba