Q3. How will you fetch duplicate values from a DB2 table?
Answer Posted / ganesh
select column1, column 2, count('X') from Table_name
group by column1, column 2
having integer(count('X')) > 1
Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
What is the function of logging in the db2 database?
How to get the ddl of a table in db2?
can we view the access paths created by dbrm ? how ? thx
How to find the number of rows in a db2 table?
What is the information associated with sysibm.syslinks table?
What are packages in db2?
Why do we bind in db2?
How to execute stored procedures?
How to view db2 table structure?
What does db2 stand for?
what is the role of the cursor in db2?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
What is db2?
How can the duplicate values be eliminated from db2 select?
What are the various isolation levels possible?