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 the maximum length of sqlca?
What is a db2 cursor?
Define data page.
What is the maximum size of varchar data type in db2?
What are the prerogatives?
What is the result of open cursor statement?
How do I import data from excel to db2?
What are iseries servers?
Can we insert update delete in view?
What is the role of schema in the db2 database?
What is db2 and what is the use of db2 optimizer?
What is difference between rollback and commit?
can all users have the privilage to use the sql statement select * (dml)?
How does db2 sample database connect?
What is the use of commit in db2?