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 different types of record groups in oracle? Explain each of them
Why do we need integrity constraints in a database?
What are the tools for Oracle ?
How to download oracle database 10g xe?
How to connect to a remote server?
Explain what are clusters?
Explain the use of parfile option in exp command.
Can you tell me how to add new column in existing views?how?How is possible?
Explain the function of optimizer in oracle?
How to get a list of all background sessions in the database?
How to drop a stored function?
What is save point in oracle database?
How do I know if oracle is installed on windows?
Write a syntax for update query in oracle?
What are the logical operations?