how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used
Answer Posted / raghavendraprasad
delete from table_name where rowid not in (select max
(rowid) from table group by duplicate_values_field_name);
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what is 'mysqladmin' in mysql? : Sql dba
How to convert comma separated string to array in pl/sql?
Is clustered index a primary key?
Can we delete column in sql?
How many times can we commit in a loop?
Why do you partition data?
Explain the savepoint statement.
how can we destroy the session, how can we unset the variable of a session? : Sql dba
What is the difference between rename and alias?
Is sql procedural language?
what is table? : Sql dba
How do you go back in sql?
Can there be 2 primary keys in a table?
what are the difference between clustered and a non-clustered index? : Sql dba
What is indexes?