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
Which component is responsible for db2 startup and shutdown?
Describe major components of db2?
What is precompiler in db2?
can all users have the privilage to use the sql statement select * (dml)?
What does sqlcabc has?
List out the data types available.
What is bufferpool in db2?
How does cobol compile db2 program?
What is the use of commit in db2?
What is the use of value function?
How to find schema of a table in db2?
What do you mean by cursor?
What is meant by dclgen?
What is universal database?
What is the latest version of ibm db2?