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

select Student_Name,Dgree from Education
group by (Student_Name,Dgree) having count(*) > 1;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use loop in sql?

921


What are some emotional triggers?

927


What trigger means?

926


How to use sql statements in pl/sql?

1052


Why do we use procedures?

911


Does sql*plus have a pl/sql engine?

994


State some properties of relational databases?

1001


What are the constraints available in sql?

994


What is the use of pl/sql table?

996


Can we join two tables without common column?

928


How do you explain an index?

1221


Is trigger a stored procedure?

884


why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

1040


What is string data type in sql?

1049


What does count (*) do in sql?

951