Q3. How will you fetch duplicate values from a DB2 table?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is buffrpool? Where we use it ?
What is syscat in db2?
What is db2 plan table?
What is Declaration Generator(DCLGEN)?
what are stage one indexable predicates?
how can u understand the end of the table ?
What is the picture clause of null indicator variable?
What is the role of data manager in the db2 database?
How could one combine a set of incremental image copies into a single copy?
what is the process of precompiler?
When do you specify the isolation level?
How to check sequence on a table in db2?