Delete duplicate records in the emp table.

Answer Posted / amedela chandra sekhar

delete from emp x where rowid>(select min(rowid) from emp
where rmpno=x.empno);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are types of indexes in sql?

539


What is a recursive stored procedure?

621


What is the benefit of foreign key?

528


When should I use nosql database?

553


What is difference between pl and sql?

535






Mention what is the use of function "module procedure" in pl/sql?

576


explain the delete statements in sql

585


Determine if oracle date is on a weekend?

558


How to read xml file in oracle pl sql?

511


Define concurrency control. : Transact sql

589


What is substitution variable in pl sql?

505


is it possible to pass an object or table to a procedure as an argument?

576


what are the nonstandard string types? : Sql dba

612


Why truncate is used in sql?

533


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

560