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
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
Why do we need reorg in db2?
What db2 400?
Describe major components of db2?
What is the meaning concurrency in the db2 database?
Give a brief description of db2 isolation levels?
What os does db2 run on?
What are the various data types available in db2?
What is dclgen (declaration generator)?
What is the max length of sqlca?
Define declaration generator (dclgen).
What do you mean by commit and rollback?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What are foreign keys in db2?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?