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

SELECT RNO,NAME,COUNT(*) REP_COL FROM Education GROUP BY
RNO,NAME having Count(*)>1;

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of sqlerrd 3?

889


how to fetch alternate records from a table? : Sql dba

1050


Are null values same as that of zero or a blank space?

963


what is the difference between a web-garden and a web-farm? : Sql dba

1009


Why truncate is faster than delete?

1052


How many types of triggers are there in pl sql?

1006


What is mutating sql table?

1038


Write the alter statement to enable all the triggers on the t.students table.

1065


What are the different types of constraints?

1066


Explain cursor types?

948


what are the different type of sql's statements ? : Sql dba

871


What is offset in sql query?

1067


What is the most important ddl statements in sql are?

941


What is the difference among union, minus and intersect?

949


Why do we need cursor in pl sql?

1076