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


Please Help Members By Posting Answers For Below Questions

How can one get sql*loader to commit only at the end of the load file? : aql loader

573


What is pl sql script?

564


How do you create a db file?

524


What are sql queries used for?

538


What is full join in sql?

526






What is mutating sql table?

612


what is the difference between sql and t-sql? : Transact sql

607


Why join is faster than subquery?

603


What are basic techniques of indexing?

849


What is the difference between python and sql?

524


Explain what is table in a database?

583


How do I run pl sql in sql developer?

630


What is the plv (pl/vision) package offers?

619


what is top in tsql? : Transact sql

549


discuss about myisam key cache. : Sql dba

565