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

Write a sql query to convert all character to uppercase after hypen.

1431


What is update query?

972


What is difference between hql and native sql?

1156


Which one is better subquery or joins?

1058


what does the t-sql command ident_incr does? : Transact sql

1067


What is a sql instance vs database?

1108


What is replication id?

930


Why do we create stored procedures & functions in pl/sql and how are they different?

936


How to take user input in pl sql?

1157


What is denormalization in a database?

1043


What is the maximum rows in csv?

920


What are the different dcl commands in sql?

1143


How long will it take to learn pl sql?

932


How would you reference column values before and after you have inserted and deleted triggers?

1063


Explain what is a column in a table?

1101