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 analytic functions in sql?

1034


What is the use of sqldataadapter?

979


What is pl sql collection?

978


what is the difference between truncate and drop statements? : Sql dba

1134


What does 0 mean in sql?

969


What is lookup table in sql?

1054


Can we use view in stored procedure?

905


what is denormalization. : Sql dba

1120


Explain unique key in sql.

1018


What are crud methods?

1041


What is anonymous block in sql?

1126


what is a table in a database ? : Sql dba

1048


Can you have more than one trigger on a table?

1005


What is cursor status?

1193


What is substitution variable in pl sql?

1051