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 / kalaiselvan.j

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

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which data dictionary views have the information on the triggers that are available in the database?

1179


How can I delete duplicate rows?

963


How to get each name only once from an employee table?

1062


What is sql resultset?

931


What is foreign key in sql with example?

890


How many sql are there?

924


What is the cause of mutating table error and how can we solve it?

992


What is Difference Between Unique and Primary Key Constraints?

1057


when MSQL8.0 is in market

2014


What does cursor do in sql?

969


What is primary key and unique key?

1048


What are the types of join and explain each?

986


What is scalar function in sql?

975


what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba

987


How bulk collect improves performance?

946