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 is the difference between rollback and rollback to statements?
What is dense_rank in sql?
Can function return multiple values in sql?
How many tables can a sql database have?
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
What is an intersect?
What is a schema sql?
How do you change a value in sql?
Where is sql database stored?
What are triggers and its uses?
Is left join inner or outer by default?
How does postgresql compare to oracle/db2/ms sql server/informix?
What is the most important ddl statements in sql are?
What is a primary key called that is made up of more than one field?
What is ttitle and btitle?