Write an SQL Query to
Delete Duplicate records from a table using ROWID.

Answer Posted / ajith

DELETE FROM EMP E1
WHERE E1.ROWID>(SELECT MIN(E2.ROWID)
FROM EMP E2
WHERE E1.EMPNO=E2.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 do you understand by a set of books?

650


Is soa a part of oracle fusion middleware?

607


tell my any difficult situtation you solved in your experience in your company?

1869


How can we import the data into a database using sql * loader?

682


Which oracle apps version you are very confident in?

707






how can i print random rows in plsql table

1943


What do you understand by soa?

696


What is count(*) from po_vendors(any table)?

645


pls send me out bound code of supplers,site,bankiformation code pls as soon as

1762


How can you achieve loose coupling in soa framework?

726


1. when we r doing interface/conversion which things u will take care to improve the perfrmonce?(except bulk collect) 2. In conversion,u r loading the data using sql*loader,I dnt want to use sql*loader,& i have millions of records,Id der any way to load the data withing fraction of time considering best performance. 3. When u r doing conversion,taht using sql*loader u r loading data into staging table,u r writing control file bt I dnt want to use sql*loader,when u r creating con prog that time can we pass all values from flat file using paramere,valuset?how? 4. In flat file u got 50 records,out of 50 ,30 records are proceesed & inserted into base table,after taht clien understood that 1 item having wrong name e.g insted of ABC he given DCE, so can we delete?hw?(client permission is der) i have lot of wrong item name randomly spreaded,can we delete it?hw? 5.after doing validation hw u will follow approach to error out records?if i want to send all the error out records to client daily,whats ur approach? 6. In outbound interface is der any way to load the data(large data-millions of records) except UTL_FILE package? 7. what is parsing? 8. In technical doc.s which section will mention?except code? 9. Do u have any idea about code depository tool? 10.whats is performance tunning,DB link? 11, How u will do RMA?

13627


What is oracle soa suite?

768


what are the prerequisites for costing transactions?

2635


Pls tel me the best text book for Oracle Apps 11i Tech? & I want D2K Text book also?

1693


What are do's and dont's of Interface?

1905