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
What is runstats utility in db2?
What is db2 bind process?
What is db2 catalog database?
What is the advantage in De-normalizing tables in DB2?
What is the use of commit in db2?
How to fetch the last row from the table in SQL (db2)?
What is the maximum size of varchar data type in db2?
What is a db2 table?
What is the use of runstats in db2?
Can we delete records from view?
What is runstats and reorg in db2?
What are packages in db2?
What is the difference between spufi and qmf?
Why do we use cursor?
What is the result of open cursor statement?