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

What is the cobol picture clause of the db2 data types date, time, timestamp?

1068


How do I connect my db2 database to ibm?

1054


Can you use max on a char column?

1097


Explain about rct in db2?

1114


what is the sqlcode -501

13170


What is the syntax for FETCH in DB2 ?

1222


How do I add a column in db2?

1053


What is reorg and runstats in db2?

1222


Where can you declare a cursor in a cobol-db2 program?

1080


What is collection in db2 bind?

1021


Why do chiropractors use drop table?

1113


What is the use of with ur in db2?

1058


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

1162


What is the use of reorg in db2?

1089


How to execute stored procedures?

1135