write a query to delete similar records in particular
fields(columns) in different tables
Answer Posted / satyam kumar
Hi,
I have manipulated Khandu Shinde answer because it will
delete complete row.
delete from emp where rowid not in ( select max(rowid) from
emp group by empno having count(redundantcolumnName) > 1)
Note: work only with Oracle.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How many sql databases can you have on one server?
What is materialized view in sql?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
What are the different types of constraints?
explain advantages of myisam over innodb? : Sql dba
Why we use sql profiler?
What are the different tcl commands in sql?
What are the benefits of pl/sql packages?
Explain correlated query work?
Is it possible to pass parameters to triggers?
What is difference between mysql and postgresql?
Difference between global and parameter variables?
How do I view a sql trace file?
Explain constraints in sql?
How do I view a table in sql?