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

select SPAN_UUID, SPAN_UNIT_UUID, count(*) from
SPAN_SPAN_UNIT group by SPAN_UUID, SPAN_UNIT_UUID having
count(*) > 1;

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Could you please provide oca (oracle 10g) dumps for my certification ?

5243


What are the types of dbms?

1024


How can we implement rollback or commit statement in a trigger?

1085


Why schema is used in sql?

1089


What is before and after trigger?

1010


how to use 'mysql' to run sql statements? : Sql dba

1122


What is cost in sql execution plan?

1045


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

1164


Why should I use postgresql?

1068


What is normalisation in sql?

1100


What is the need of a partition key?

1029


What is nosql example?

1096


How do you know if a relationship is 2nf?

994


how to rename an existing column in a table? : Sql dba

1082


what is the use of friend function? : Sql dba

1060