how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used

Answer Posted / dinesh mohan upadhyay

delete from emp
where rowid>any(select min(rowid) from emp a where
a.col1=col1)

Is This Answer Correct ?    15 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is pl sql a scripting language?

591


How to run pl/sql statements in sql*plus?

594


Enlist the advantages of sql.

571


How do I run a pl sql program?

629


In a distributed database system, can we execute two queries simultaneously?

569






What are the different ways to optimize a sql query?

486


What are the different types of dbmss?

563


Can we use joins in subquery?

539


What is rowid in sql?

512


what does it mean to have quoted_identifier on? : Sql dba

679


Can we create foreign key without primary key?

536


How do I view a view in sql?

508


What is output spooling in sql*plus?

553


Can we change the table name in sql?

532


Is sql free?

501