Write an SQL Query to
Delete Duplicate records from a table using ROWID.
Answer Posted / swati
DELETE FROM <table_name> T1
WHERE T1.ROWID > (SELECT MIN(T2.ROWID)
FROM <table_name> T2
WHERE T2.<common column name> = T1.<common
column name>)
----------------------------
DELETE FROM <table_name> T1
WHERE T1.ROWID < (SELECT MAX(T2.ROWID)
FROM <table_name> T2
WHERE T2.<common column name> = T1.<common
column name>)
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
testing tools?
How can a process be deployed in soa?
What is the concept of soa governance?
How do you register report in oracle apps?
In sequence i want to 11 and 15th values how we will write?
What are file in oracle.
Tell me how to debug the report?
what is pay run id ?
Pls tel me the best text book for Oracle Apps 11i Tech? & I want D2K Text book also?
What are the Standard Reports and Forms in HRMS?
how can develope the po variance and po summary report? with tables mandatory columns and query please?
how do you describe O2C along with tables
what is the difference between request group and request security in oracle apps?
What are the benefits of using soa architecture?
what are the different transaction clauses in AR?