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 select the duplicate rows from a table?

Answer Posted / mahesh vasudevan

Select <col-name> from table A1 and A2
where A1.Col = A2.Col.

This should be an inner join. Then you are finding the
intersection of the key values...if you want to find the
duplicates for all matching column of the rows code AND
condition for join with all those columns.....by the way
there are different easy ways to find it. but this is one of
the way.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the clustering index in the db2 database?

1001


What are foreign keys in db2?

1103


What is dclgen (declaration generator)?

1059


What is scrollable cursor in db2?

1055


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

1173


When reorg is used?

1126


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1194


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

1101


What is check constraint in db2?

1086


Define declaration generator (dclgen).

1114


Which component is responsible for db2 startup and shutdown?

1035


What is dbrm library?

1054


What are the contents of dclgen?

1112


what is the sqlcode -501

13150


What is db2 command?

1035