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 use fetch statement in a loop?
Can a parameter be passed to a cursor?
Is rowid unique in oracle?
How to name query output columns in oracle?
interview questions with answer for cts
Explain mutating triggers.
What is oracle instant client?
Respected sir, Please send me technical questions related to oracle apps..
Explain about your project and its relation to the current job position you are applying to?
Where is the export dump file located?
How do I connect to oracle?
What are the different pseudo commands? Explain in general?
State and explain the different types of data models?
What is ceil and floor in oracle?
What is a dead lock in oracle?