write a query to delete similar records in same table
Answer Posted / kirankumar.vangeti
delete from emp
where rowid not in (select max(rowid)
from emp
group by emp_number);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are %type and %rowtype for?
Explain unique key in sql.
What is Difference Between Unique and Primary Key Constraints?
Is join an inner join?
Differentiate between sga and pga.
How do I view output in sql developer?
What are the set operators in sql?
how to write date and time literals? : Sql dba
Why truncate is used in sql?
what are the authentication modes in sql server? : Sql dba
What is the plv (pl/vision) package offers?
Can we commit in trigger?
Can a key be both primary and foreign?
What are the two different parts of the pl/sql packages?
What is delimiter in pl sql?