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
What is the use of reorg in db2?
Explain in detail about buffer manager and its functionalities?
What is dclgen (declaration generator)?
What does db2 mean?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is multi row fetch in db2?
What is the maximum size of varchar data type in db2?
Explain the function done by data manager?
Explain package in db2 and its advantages?
What is the difference between cursor and select statement?
What is db2?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
What is meant by dclgen?
How to check last update on table in db2?
How to compare data between two tables in db2?