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
Does sap use sql?
What is rank function in sql?
What are the different dcl commands in sql?
What is output spooling in sql*plus?
What is pl sql collection?
What are the types of dbms?
What is cursor explain with example?
What is partition in sql query?
Can we use commit inside a trigger?
What is a schema sql?
Can we update views in sql?
What are the types of keys?
Does pl sql work in mysql?
What is exit statement?
how can you see all indexes defined for a table? : Sql dba