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
Is it possible using max on a char column?
Mention the definition of cobol in varchar field.
What is ibm db2 connect?
What is package in cobol db2?
Explain various types of locks in db2?
Define buffer pool.
Mention the different locking levels that are available in db2.
What is rct?
What language is db2 written in?
What is the maximum size of varchar data type in db2?
What is coalesce in db2?
What is db2? Explain.
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
List out the three types of page locks that can be held.
How to execute stored procedures?