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 the use of predicate?
How can you quickly find out the # of rows updated after an update statement?
What is a storage group (stogroup)?
Explain packages.
Define db2 and its databases?
How to run db2 command in windows?
How do I copy a table in db2?
What is a system catalog table in db2?
What is db2 and what is the use of db2 optimizer?
What is temporal table in db2?
What are the rules for db2 programming?
How do I import a csv file into db2?
What is query_cache_limit?
What is the maximum size of varchar data type in db2?
How do you eliminate duplicate values in db2?