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
How does rowid help in running a query faster?
What is sql and explain its components?
How do you respond to dementia behavior?
What packages(if any) has oracle provided for use by developers?
What are %type and %rowtype for?
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
when is the use of update_statistics command? : Sql dba
what is a database? : Sql dba
Can you inner join the same table?
what is bcp? When is it used?
What are aggregate and scalar functions?
What is rank function in sql?
What is the use of sqlerrd 3?
What are stored procedures in mysql?
how to fetch alternate records from a table? : Sql dba