Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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.

2697


Why do we need reorg in db2?

966


What db2 400?

1143


Describe major components of db2?

1082


What is the meaning concurrency in the db2 database?

1093


Give a brief description of db2 isolation levels?

1046


What os does db2 run on?

955


What are the various data types available in db2?

1071


What is dclgen (declaration generator)?

1032


What is the max length of sqlca?

1206


Define declaration generator (dclgen).

1097


What do you mean by commit and rollback?

1025


Which command is used to connect to a database in DB2 ? Give the Syntax.

1083


What are foreign keys in db2?

1082


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1064