write a query to delete similar records in same table
Answer Posted / nirmalendu
delete from table_name where rowid not in(select min(rowid)
from table_name group by column_name);
** column_name which having duplicate record
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
what is query cache in mysql? : Sql dba
What is the use of primary key?
What is the difference between database trigger and stored procedure?
how to include numeric values in sql statements? : Sql dba
What is an implicit commit?
what is column? : Sql dba
How to convert comma separated string to array in pl/sql?
What are analytical functions in sql?
How many sql core licenses do I need?
Explian rowid, rownum? What are the psoducolumns we have?
when is the use of update_statistics command? : Sql dba
what are the different type of sql's statements ? : Sql dba
What is blind sql injection?
What are hotfixes and patches?
What is varchar sql?