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
How do we specify index to include or not during bind process.
How and when does the db2 enforces the unique key?
What is the meaning concurrency in the db2 database?
What is dbrm in db2 database?
What is alias in db2?
What are foreign keys in db2?
What is a collection in db2?
If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
How to find primary key of a table in db2?
What is null indicator in cobol db2?
How can you find out the # of rows updated after an update statement?
What are the contents of a dclmgen?
How to compare data between two tables in db2?