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 to find 3rd highest salary of an employee from the employee table in sql?
What are the basic techniques of indexing?
How can get second highest salary in sql?
Is sql pronounced sequel or sql?
Which sorts rows in sql?
What is sql lookup?
What is function and procedure in pl sql?
How do you rank data in sql?
How to know the last executed procedure?
What is primary key and foreign key?
What is field delimiter?
How to change the order of columns in Oracle SQL Plus ?
what are date and time data types in mysql? : Sql dba
Explain the difference between rename and alias?
how to convert character strings to numeric values? : Sql dba