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 are the three forms of normalization?

1008


How do I run a sql query in pgadmin 4?

928


What is the best sql course?

955


Why is partition used in sql?

1074


how to shut down the server with 'mysqladmin'? : Sql dba

973


Can I join the same table twice?

1008


How to create your own reports in sql developer?

990


What are sql data types?

975


What are local and global variables and their differences?

1063


What is the primary key?

905


What is full form of rtm?

977


what are date and time functions in mysql? : Sql dba

944


What are the operators in sql?

991


What is a primary key called that is made up of more than one field?

1310


Why do we use function in pl sql?

1028