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 retrieve only duplicate values in a table

Answer Posted / vijay_1994

select count (column_name),column_name from table_name group by column_name having count(column_name)>1;

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 sql dialect?

1035


How insert into statements in sql?

1007


can a stored procedure call itself or recursive stored procedure? : Sql dba

955


Which sql most popular?

934


What are the operators used in select statements?

999


Can primary key be changed?

862


Why stored procedure is faster than query?

947


What is the process of copying data from table a to table b?

1033


explain the difference between delete , truncate and drop commands? : Sql dba

1013


What is a sql instance vs database?

1035


Can we edit a view in sql?

924


What is cursor and its types?

991


what are the advantages a stored procedure? : Sql dba

923


What is sql trigger example?

997


What is the current version of postgresql?

1004