how to find find & delete duplicate rows from two different
tables?
Answer Posted / pravin jadhav
delete from table_name where rowid not in (select max(rowid) from table group by
duplicate_values_field_name);
or
delete duplicate_values_field_name dv from table_name ta where rowid <(select min(rowid) from
table_name tb where ta.dv=tb.dv);
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How to loop through data rows in the implicit cursor?
Explain the blob datatype?
What is primefaces used for?
What are data pump export and import modes?
What is define in oracle?
What is blob data type in oracle?
What is a sub query? What are its various types?
Explain an exception and its types?
WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?
Explain integrity constraint?
How to use "in out" parameter properly?
How to delete all rows a table in oracle?
what is the dual table in oracle?
What is background process in Oracle?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?