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...


Q3. How will you fetch duplicate values from a DB2 table?

Answers were Sorted based on User's Feedback



Q3. How will you fetch duplicate values from a DB2 table?..

Answer / ganesh

select column1, column 2, count('X') from Table_name
group by column1, column 2
having integer(count('X')) > 1

Is This Answer Correct ?    16 Yes 4 No

Q3. How will you fetch duplicate values from a DB2 table?..

Answer / ramana99

select City, Country, count('X') from Customers
group by City, Country
HAVING count('X') > 1
;

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is buffrpool? Where we use it ?

2 Answers   Tesco,


What is syscat in db2?

0 Answers  


What is db2 plan table?

0 Answers  


What is Declaration Generator(DCLGEN)?

1 Answers  


what are stage one indexable predicates?

1 Answers  


how can u understand the end of the table ?

1 Answers   TCS,


What is the picture clause of null indicator variable?

0 Answers  


What is the role of data manager in the db2 database?

0 Answers  


How could one combine a set of incremental image copies into a single copy?

1 Answers  


what is the process of precompiler?

2 Answers  


When do you specify the isolation level?

0 Answers  


How to check sequence on a table in db2?

0 Answers  


Categories