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 / "d"

select count(*),ss from dd group by
ss having count(*)>1

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 Difference Between Unique and Primary Key Constraints?

863


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

737


What are sql*plus environment variables?

808


In what condition is it good to disable a trigger?

786


Can we use join in subquery?

810


What is an exception in pl/sql?

768


What is a string data type in sql?

738


what are the differences between char and varchar? : Sql dba

785


Can we use pl sql in mysql?

743


What is bind variable in pl sql?

757


what are the join types in tsql? : Transact sql

783


Can a view be mutating? If yes, then how?

786


What is online transaction processing (oltp)?

779


What are synonyms in sql?

763


Which sorts rows in sql?

802