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 has stored procedures in sql?

779


Is postgresql a server?

736


What are different types of triggers?

738


What is indexing oracle sql?

744


What is a sql*loader control file?

788






What is string data type in sql?

724


Which certification is best for sql?

723


Why primary key is required?

717


What is cursor and its types?

716


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

1923


Can we have two clustered index on a table?

760


How many types of triggers exist in pl/sql?

730


What is the difference between distinct and unique in sql?

653


define sql update statement ? : Sql dba

807


Why do we use view in sql?

727