How will you delete duplicate records from a table?
Answer Posted / tharanath.n
delete from table a
where rowid >(select min(rowid) from table b
where a.column = b.column);
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
How to fetch the last row from the table in SQL (db2)?
What is scrollable cursor in db2?
How can the duplicate values be eliminated from db2 select?
What is the difference between nvl and coalesce?
Mention the different locking levels that are available in db2.
Define db2 and its databases?
How to run db2 command in windows?
What is node in db2?
Is db2 relational database?
What is a db2 table?
What is db2?
What do you mean by cursor?
How to execute stored procedure in db2 command editor?
Define sqlca.
What is copy pending status in db2?