What is the SQL query to select, delete and get count of
duplicate rows in DB2?
Answer Posted / hkhatri27
SELECT Columns
FROM Table
GROUP BY Columns
HAVING COUNT(*) > 1;
~ Himanshu
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is null in db2?
What is check constraint in db2?
What is the use of with ur in db2?
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
What is clone table?
What is buffer pool and list some of them?
What is reorg?
How do I change the column size in db2?
Can we delete records from view?
How and when does the db2 enforces the unique key?
What is a db2 cursor?
What are host variables in db2?
What is rct?
Explain about open switch business continuity software?
When the like statement is used?