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
Differentiate between sga and pga.
What is sqlerrm?
How to get each name only once from an employee table?
What is the process of copying data from table a to table b?
Explain normalization and what are the advantages of it?
tell me about various levels of constraint. : Sql dba
Is foreign key mandatory?
What do you mean by table in sql?
How do I write a cron which will run a sql query and mail the results to agroup?
What are some predefined exceptions in pl/sql?
What is the difference between syntax error and runtime error?
What are sql commands?
Which type of cursor is used to execute the dml statement?
How do you write a complex sql query?
differentiate between float and double. : Sql dba