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 / a.balakrishna

select * from education where rowid in (select min(rowid)
from ex group by sno having count(*)>1);


100% it is true

Best of luck

9177509010

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between % rowtype and type record.

735


what are local and global variables and their differences? : Sql dba

542


What is pl sql block in dbms?

528


What are the different types of sql commands?

599


List different type of expressions with the example.

551






what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

558


How exception is different from error?

545


What does the hierarchical profiler does?

570


What is scalar function?

569


what are the join types in tsql? : Transact sql

576


which types of join is used in sql widely? : Sql dba

542


Is sql procedural language?

554


What are the different types of a subquery?

523


What do you know by pl/sql cursors?

570


what are set operators in sql? : Sql dba

536