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
What are the uses of synonyms?
State any two functions of oracle?
How to find the duplicate rows count from employees table in oracle?
What is dual table oracle?
material view and view disadvantages?
What is the data type of dual table?
Difference between cartesian join and cross join?
What happens to the current transaction if the session is ended?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
Point out the difference between user tables and data dictionary?
how can db_files > maxdatafiles since db_files is for instance and the later is for database
Is there a function to split a string in plsql?
How to invoke the original export import utilities?
What is Virtual Private Database in Oracle?
Explain table?