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
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
How many primary keys can a table have?
Can %notfound return null after a fetch?
How do you copy a table in sql?
Differentiate pl/sql and sql?
Is merge a dml statement?
What is clause?
What is record in pl sql?
Can we commit inside a trigger?
What is pl sql variable?
Explain the significance of the & and && operators in pl sql.
Which are the different character-manipulation functions in sql?
What is difference between pls_integer and integer?
How to display the current date in sql?
Define join and name different types of joins?