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 db2 bind process?
What is dbrm library?
What is precompiler in db2?
How to restart a DB2 program?
What is buffer pool?
What is db2 optimizer?
What do you mean by cursor?
What is a buffer in memory?
How do you find the maximum value in a column in db2?
define clustering index.
Comment whether the cursor is closed during commit or not.
List out the three types of page locks that can be held.
What do you mean by storage group (stogroup)?
what is the role of the cursor in db2?
Can you tell me how can you find out the # of rows updated after an update statement?