How will you delete duplicate records from a table?
Answer Posted / s
DELETE FROM TABLE ABC
WHERE COLUMN =
(SELECT COLUMN FROM TABLE ABC
GROUP BY COLUMN
HAVING COUNT(*) > 1);
| Is This Answer Correct ? | 20 Yes | 36 No |
Post New Answer View All Answers
Give a brief description of db2 isolation levels?
How can the firstname and the lastname from the emp table be concatenated to generate complete names?
How is the value function used?
What is meant by union and union all?
Which component is used to execute the sql statements?
What is db2 purescale?
Define db2 and its databases?
What is difference between isnull and coalesce?
What is universal database?
What is a db2 cursor?
When do you specify the isolation level?
Define data page.
Why do we use cursor?
Where do you specify them?
What do you mean by cursor?