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 |
B37 abend during spufi?
Which catalog tables contain authorization information?
What is the syntax for FETCH in DB2 ?
How many Buffer pools are there in DB2 and what are they?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
What if we try to insert the base table through updatable view , but failed to give a column value which is defined as NOT NULL.
What is a base table?
What do you mean by cursor?
Explain the contention situations caused by locks?
How is a typical db2 batch pgm executed?
how do you resolve -805?
what is the maximum number of tables that can be joined ?