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

select * from education a where rownum>(select max(rownum)
from education b where b.rno=b.rno)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between subquery and correlated query?

1065


What is a primary key? Explain

974


What are the events on which a database trigger can be based?

1189


Why do we use sql constraints?

1171


what is the difference between delete and truncate commands? : Sql dba

1070


What operating systems are supported by oracle sql developer?

966


how do you know if your mysql server is alive? : Sql dba

1078


Can we create index on primary key?

971


What is data abstraction in sql?

1032


What are the different types of a subquery?

1051


Can dml statements be used in pl/sql?

1081


How many tables can a sql database have?

978


What is data type in database?

995


Explain the steps needed to create the scheduled job?

1039


What are user defined functions?

1018