write a query to delete similar records in same table
Answer Posted / apurva
delete from <tablename> rowid not in (select max(rowid)
from <tablename> group by <col.name where there are
repeating records>);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do I truncate a word?
Name the operator which is used in the query for pattern matching?
what is the difference between join and union? : Sql dba
Can %notfound return null after a fetch?
How we can update the view?
How to start oracle sql developer?
How does cross join work in sql?
How many tables can a sql database have?
What is sqlca in powerbuilder?
What is rowid in sql?
What is rollback?
how to increment dates by 1 in mysql? : Sql dba
How do you copy a table in sql?
What is file based approach?
What are the dml statements?