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 difference between isnull and coalesce?
What is buffer pool?
What happens in bind step in a db2 program?
What os does db2 run on?
Explain dclgen.
Explain package in db2 and its advantages?
Mention the different locking levels that are available in db2.
What's The Percentage Free Space ?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What is meant by dclgen?
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
What is db2 connect?
How do I delete a table in db2?
What is runstats utility in db2?
What does db2 blu stand for?