How will you delete duplicate records from a table?
Answer Posted / venkat
delete from emp where ecode IN ( select ecode from emp group by ecode having count(*) >1 )
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is the use of runstats in db2?
What is the role of schema in the db2 database?
What happens in bind step in a db2 program?
What is the role of union all and union
What is the clustering index in the db2 database?
What is db2 catalog database?
What is cursor with hold option in db2?
What is db2?
What is the use of db2?
What are db2 objects?
What is buffer pool and list some of them?
How do you find the maximum value in a column in db2?
How to run db2 command in windows?
What types of tables are there in the db2 database?
What is null value in db2?