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 / anshuman

Select column_name1,column_name2
from table_T
group by column_name1 having count(*)>1

it will give all the duplicates value of column_name1

Is This Answer Correct ?    28 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is package in db2 mainframe?

1039


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1237


What is access path in db2?

1044


What is the use of dclgen in db2?

1136


What is catalog database in db2?

1218


How do I start db2 in windows?

1141


can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

2297


What is data manager?

1105


Explain in detail about buffer manager and its functionalities?

1145


Is db2 a programming language?

1104


How do I delete a table in db2?

1126


What are the different types of base tables?

1168


What is a db2 schema?

1298


What is syscat in db2?

1072


What os does db2 run on?

1049