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 difference between using bind () and rebind () methods of naming class?
How to execute stored procedures?
Explain what are the various isolation levels possible?
what is the role of the cursor in db2?
What are the bind parameters ibm db2?
Is db2 a mainframe database?
Define check constraint.
What is the information associated with sysibm.syslinks table?
can we view the access paths created by dbrm ? how ? thx
What r the comman abends in db2, jcl and cobol???????
What types of tables are there in the db2 database?
What is the latest version of ibm db2?
If I have a view which is a join of two or more tables, can this view be updateable?
On which levels locks can be applied?
Mention the definition of cobol in varchar field.