how will i display the duplicate record's from a table...
i don't want to eliminate ...i want to display the duplicate
record...for example in my table i have 10 record's like
record no(1,2,3,4,2,9,6,1) in this ...so i want to receive
duplicates...
Answer Posted / raja_kb
SELECT <Column Name1> FROM Table
GROUP BY <Column Name1> HAVING COUNT(*)>1;
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How to create db2 table in mainframe?
What is phantom read in db2?
i want to maintain uniqueness on pdf without make lf??????????
What is the maximum number of columns in a db2 table?
Can we update view in db2?
Explain about rct in db2?
Define data page.
What are foreign keys in db2?
How to find schema of a table in db2?
How to execute stored procedures?
Explain in detail about buffer manager and its functionalities?
What is consistency token in db2?
What is the syntax for creating a table in the db2 database?
What do you mean by commit and rollback?
How do I add a column to an existing table in db2?