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 Duplicate Rows only in a Table?
Suppose if a Table Name is "Education". It consists of
multiple columns. Then if we insert rows into this table
with duplicate records then how can we retrieve only
duplicate records from that table?

Answer Posted / mohan

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are secondary keys?

1030


How much does sql cost?

1067


What is out parameter used for eventhough return statement can also be used in pl/sql?

1124


Is like operator in sql case sensitive?

1077


Mention what is the function that is used to transfer a pl/sql table log to a database table?

1034


Why self join is used in sql?

1031


Compare sql & pl/sql

1211


How many joins can you have in sql?

988


Why we use triggers in mysql?

1038


What is the difference between having and a where in sql?

1151


What is cte sql?

1052


How do I tune a sql query?

1042


How do I add a database to sql?

1185


What do you understand by pl/sql cursors?

1148


Does db2 use sql?

1009