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

Where is all the data on the internet stored?

949


What are the different dml commands in sql?

1090


where are cookies actually stored on the hard disk? : Sql dba

977


Is sql better than access?

965


What is scalar and vector?

940


What is oracle sql developer?

994


What is an implicit commit?

996


How many types of relationship are there?

976


Does sql*plus also have a pl/sql engine?

1039


Can we enter data in a table in design view?

913


What is difference between group by and partition by?

978


What is date functions?

964


Why are indexes and views important to an organization?

899


Why plvtab is considered as the easiest way to access the pl/sql table?

1132


List and explain the different types of join clauses supported in ansi-standard sql?

1301