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
How do I run a sql query in pgadmin 4?
What do you understand by case manipulation functions?
How many types of relationship are there?
what is cursor and its type, what is ref cursor write a syntax to pass ref cursor into procedure out fucntion and call the procedure
How can a function retun more than one value in oracle with proper example?
what is datawarehouse? : Sql dba
What are the possible values that can be stored in a boolean data field?
Describe different types of general function used in sql?
How can I tell if sql is running?
What is pivot in sql?
Can function return multiple values in sql?
What are the possible values for the boolean data field?
what is difference between delete and truncate commands? : Sql dba
What are the types of keys?
Can we use delete in merge statement?