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 are bind concepts in db2 cobol?
What parameters are used to control the free space in DB2?
What is the physical storage length of date data type?
What is a db2 schema?
Before you give the explain statement, what are the prerogatives?
Explain what are the various isolation levels possible?
What is a plan and package in db2?
What type of database is db2?
What is buffer pool and list some of them?
What are the various data types available in db2?
What are the benefits of using the db2 database?
What is reorg?
Is it possible using max on a char column?
What is schema in db2?
Can we delete records from view?