How to delete same emp id in sql query for exmaple in emp
table emp id, empname, emp address. for example emp id =5,
repeated in two times in rows same id how to delete same
empid please any one of the write query send in my id
Answer Posted / ajit
DELETE FROM EMP WHERE EMPID= 5 AND ROWNUM < 2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between rename and alias?
Difference between truncate, delete and drop commands?
What is inner join in sql?
How is sql used in oracle?
what's the difference between a primary key and a unique key? : Sql dba
How do you copy a table in sql?
What is the best free sql database?
what are the differences among rownum, rank and dense_rank? : Sql dba
What is sql and db2?
What does subquery mean in sql?
What is the difference between microsoft access and sql server?
What is the use of prepared statement?
What is sql injection owasp?
What is sql engine in oracle?
What is pessimistic concurrency control? : Transact sql