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

What is dialect in sql?

987


Explain the uses of database trigger.

1175


describe transaction-safe table types in mysql : sql dba

1059


Can we use pl sql in sql server?

1136


Is sql sequential or random?

1086


Explain the difference between rename and alias?

1068


What is scalar data type in pl sql?

1119


what is offset-fetch filter in tsql? : Transact sql

998


What are procedures used for?

1036


What is varray in pl sql?

1121


How do you sort in sql?

1071


what is the difference between join and union? : Sql dba

1202


What is update query?

1033


what is the difference between a having clause and a where clause? : Sql dba

1158


How do I install sql?

1045