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

select * from emp where sal in(select sal from emp group by
sal having count(sal)>1);

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a constraint?

1083


How many types of triggers exist in pl/sql?

1134


How do I truncate a sql log file?

1136


What are sql objects?

1129


How to process query result in pl/sql?

1201


What is nvarchar max in sql?

1073


What is restrict in sql?

1177


How many commands are there in sql?

1087


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

1106


What are the syntax and use of the coalesce function?

1275


What does cursor do in sql?

1067


How to call a javascript function from pl sql?

1187


What is the difference between alter trigger and drop trigger statements?

1164


What does inner join mean?

1262


is it possible to pass an object or table to a procedure as an argument?

1178