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
How is deadlock resolved?
What are the different types of base tables?
Define data page.
Explain packages.
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
Why do chiropractors use drop table?
What is the default page size of buffer pools?
What is the physical storage length of date data type?
What is clone table?
Is db2 free?
How do you concatenate the firstname and lastname from emp table to give a complete name?
What is db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
What is db2 bind process?