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
What is cascading rollback?
Define data page.
What is a plan and package in db2?
What are packages in db2?
Can there be more than one cursor open for any program?
What is innodb buffer pool?
Describe major components of db2?
Explain the benefits you can get from mainframe connect?
How do we specify index to include or not during bind process.
what are bind concepts in db2 cobol?
How to find the maximum value in a column in the db2 database?
What is db2 instance?
What is cobol db2?
What is load utility in db2?
What is check constraint in db2?