Suppose there are many duplicate records in a Db2 table.
What is the query to retrive only duplicate records?
Answer Posted / chidambara subbu
SELECT City FROM Customers
Group by City
HAVING COUNT(City) > 1
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is db2 restart?
What is db2 plan table?
What is phantom read in db2?
How do you stop a db2 database in linux?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What are the various isolation levels possible?
How to find the number of rows in a db2 table?
When the like statement is used?
What are the various data types available in db2?
How do I add a column in db2?
What are union and union all?
What is db2 purescale?
What is nvl in db2?
what is the responsibility of the construction superintendent
What is the difference between bind and rebind in db2?