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 / rajesh kumar patnaik

SELECT ProductName
FROM Products
WHERE (ProductName IN
(SELECT ProductName
FROM Products
GROUP BY ProductName
HAVING COUNT(*) > 1))

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the select statement in sql?

1183


what is cursor. write example of it. What are the attributes of cursor.

1462


What is sql mysql pl sql oracle?

1129


What is a sql trace file?

1085


what are the security recommendations while using mysql? : Sql dba

1180


What is primary key and foreign key?

1014


How do I clear the screen in sql plus?

1086


How do I write a sql query in pgadmin 4?

1046


how to decrement dates by 1 in mysql? : Sql dba

1075


What is the difference between sum and count in sql?

1039


What is auto increment in sql?

1176


What is trigger and types?

1069


What is equi join in sql?

1119


how can we optimize or increase the speed of a mysql select query? : Sql dba

988


what are the join types in tsql? : Transact sql

1104