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

What is rowtype?

1004


What is a schema? How is it useful in sql servers?

1106


Why use subqueries instead of joins?

1071


Can we use joins in subquery?

1154


What is dbo in sql?

951


What is pl sql commands?

1036


What is difference between mysql and postgresql?

1133


how can we destroy the cookie? : Sql dba

1004


What is trigger explain it?

1005


How is data stored in sql?

1047


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

1057


How does stored procedure reduce network traffic?

1001


what is the difference between group by and order by in sql? : Sql dba

1113


What is varray in pl sql?

1067


Why do we need databases?

1036