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
How many types of page locks can be held in db2?
What is ibm db2 client?
What os does db2 run on?
What is db2 and what is the use of db2 optimizer?
What are host variables in db2?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What r the comman abends in db2, jcl and cobol???????
Define db2 and its databases?
What is db2 plan table?
What are union and union all?
How to find the number of rows in db2 tables?
What is the difference between plan and package in db2?
What is the latest version of ibm db2?
Which components manage deadlocks in db2?
What is db2 optimizer?