Q3. How will you fetch duplicate values from a DB2 table?
Answers were Sorted based on User's Feedback
Answer / 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 |
What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?
Name the lockable units in DB2?
what is datacom db?
What will the FREE command do to a plan?
How many databases can be created inside an instance in db2 ?
What is declare cursor?
how can you save the query in QMF?IS IT POSSIBLE OR NOT.IF POSSIBLW HOW?
Which component is responsible for processing sql statements and selecting access paths?
could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
What are packages in db2?
Is it Possible to read from PS file and write it to database by using dynamic sql(execute immediate)
What techniques will be used to avoid deadlock??