how to get duplicate records from tables?write qurey for this?
Answer Posted / naresh k
select * from table_name;
The above qurey get duplicate record also because the
database store records like multi-set..
if we want get distinct records then use following query.
select distinct(attribute_name) from table name
| Is This Answer Correct ? | 0 Yes | 15 No |
Post New Answer View All Answers
What is cursor stability in db2?
What is plan in cobol db2?
What is the difference between cursor and select statement?
How to test SQL -911 error while developing COB-DB2 program
What is the use of with ur in db2?
On which levels locks can be applied?
How and when does the db2 enforces the unique key?
What is the syntax for FETCH in DB2 ?
What is db2 bind process?
What does a deadlock mean in DB2?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What is the difference between spufi and qmf?
Is ibm db2 free?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
What are the 2 sqlcodes that are returned?