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

Is schema the same as database?

1103


What is the difference between cursor stability and repeatable read isolation levels?

1238


What is copy pending and check pending in db2?

1040


Which components manage deadlocks in db2?

1120


What is buffer pool?

1160


What is drop table?

1067


What is the use of predicate?

1086


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1152


Give the name of some fields form sqlca.

1143


What is role in db2?

1161


List out the three types of page locks that can be held.

1193


Can we insert update delete in view?

1028


What is the use of reorg in db2?

1137


What do you mean by rollback?

1030


What is multi row fetch in db2?

1102