how to get duplicate records from tables?write qurey for this?
Answer Posted / mahesh babu
select column_name,count(*) from table_name group by
column_name having count>1.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is buffer pool in the db2 database?
How to compare data between two tables in db2?
Explain in brief how does db2 determine what lock-size to use?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
Explain dclgen.
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
How do I connect my db2 database to ibm?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
How to create db2 table in mainframe?
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
What is lock escalation in db2?
How do I copy a table in db2?
what is a corelated subquerry?
What is an instance database?
What is cursor with hold option in db2?