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

select id,count(id) from Education group by id having count(id)>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 the difference between delete and truncate statement in sql?

1123


What are the two types of exceptions in pl/sql?

1088


What is the difference among union, minus and intersect?

1045


Is sql a backend language?

1144


What is an inner join sql?

1097


How to combine two stored procedures in sql?

1320


Can we join 3 tables in sql?

1104


What is the command used to fetch first 5 characters of the string?

1460


how to rename an existing table in mysql? : Sql dba

1112


What is a sql*loader control file?

1337


Is primary key clustered or nonclustered?

1058


Can one improve the performance of sql*loader? : aql loader

1096


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

1014


What is difference between inner join and self join?

1133


Which are the different types of indexes in sql?

1097