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

SELECT * FROM TAB1 A WHERE A.ROWID > ANY
(SELECT B.ROWID FROM TAB2 WHERE A.COL1=B.COL1)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does rownum mean in sql?

965


What is data type in sql?

923


Which sql most popular?

948


How to make a copy values from one column to another in sql?

999


Is primary key a clustered index?

929


What is an exception in pl/sql?

1017


What is sql resultset?

938


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

2117


How long does it take to learn pl sql?

1016


What are reports usually used for?

982


What is recursive join in sql?

962


How do you identify a primary key?

1020


How do I copy a table in sql?

943


Name the different types of indexes in sql and define them.

1091


What is function and procedure?

990