Q3. How will you fetch duplicate values from a DB2 table?
Answer Posted / ramana99
select City, Country, count('X') from Customers
group by City, Country
HAVING count('X') > 1
;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What does a deadlock mean in DB2?
Why do we need reorg in db2?
What is consistency token in db2?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
Is db2 relational database?
what is db2 restart?
What are the bind parameters ibm db2?
What is clone table?
B37 abend during spufi?
Is db2 a database?
What is a dbrm in db2?
Is ibm db2 free?
What is the maximum length of sqlca?
Define db2 and its databases?