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 will i display the duplicate record's from a table...
i don't want to eliminate ...i want to display the duplicate
record...for example in my table i have 10 record's like
record no(1,2,3,4,2,9,6,1) in this ...so i want to receive
duplicates...

Answer Posted / raja_kb

SELECT <Column Name1> FROM Table
GROUP BY <Column Name1> HAVING COUNT(*)>1;

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create db2 table in mainframe?

1217


What is phantom read in db2?

1224


i want to maintain uniqueness on pdf without make lf??????????

2204


What is the maximum number of columns in a db2 table?

1343


Can we update view in db2?

1053


Explain about rct in db2?

1163


Define data page.

1128


What are foreign keys in db2?

1170


How to find schema of a table in db2?

1066


How to execute stored procedures?

1175


Explain in detail about buffer manager and its functionalities?

1142


What is consistency token in db2?

1194


What is the syntax for creating a table in the db2 database?

1148


What do you mean by commit and rollback?

1087


How do I add a column to an existing table in db2?

1082