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

select * from taruntest1 b where rowid not in (select min
(rowid) from taruntest1 a where a.a=b.a );

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are string data types? : Sql dba

514


What is the difference between left outer join and left join?

517


What is left join in sql?

584


What is sql performance tuning?

497


What is trigger point?

538






What are some predefined exceptions in pl/sql?

552


How to select all records from the table?

609


define data blocks ? : Sql dba

549


What is the difference between inner join and left join?

547


What is sql comments?

650


Can we use ddl commands in pl sql?

560


What is clustered index in sql?

592


Write a query to find the names of users that begin with "um" in sql?

505


What is record data type?

518


What is sqlexception in java?

551