write a query to delete similar records in same table
Answer Posted / raj
DELETE FROM EMP E1
WHERE ROWID <(SELECT MAX(ROWID) FROM EMP E2 WHERE E1.ENO =
E2.ENO)
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
Does sql require a server?
how do you know if your mysql server is alive? : Sql dba
what is transaction? : Sql dba
Does varchar need length?
Is primary key a clustered index?
Can we join same table in sql?
What is rownum?
What is the difference between count 1 and count (*) in a sql query?
Are subqueries faster than joins?
What are the triggers associated with image items?
difference between anonymous blocks and sub-programs.
What is db journal file?
What does the base_object_type column shows in the user.triggers data dictionary view?
what are string data types? : Sql dba
What is pl sql package?