how to get duplicate records from tables?write qurey for this?
Answer Posted / anshuman
Select column_name1,column_name2
from table_T
group by column_name1 having count(*)>1
it will give all the duplicates value of column_name1
Is This Answer Correct ? | 28 Yes | 7 No |
Post New Answer View All Answers
How does cobol compile db2 program?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
How to restart a DB2 program?
What is the difference between dbm cfg and db cfg file in db2 ?
What is null in db2?
Are views updateable?
Explain in brief how does db2 determine what lock-size to use?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is db2 look?
Is ibm db2 open source?
What is universal database?
What is the usage of open cursor command?
How do I add a column to a table in db2?
What is role in db2?
Can you tell me how can you find out the # of rows updated after an update statement?