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 lookup table in sql?

814


Which table is left in left join?

766


What is sql injection vulnerability?

708


Which is better trigger or stored procedure?

740


What makes a good primary key?

813


what are tables and fields? : Sql dba

826


What does select * from mean in sql?

2645


what is the use of double ampersand (&&) in sql queries?

892


How to convert comma separated string to array in pl/sql?

890


What is the purpose of using pl/sql?

883


What are sql queries used for?

817


What are secondary keys?

785


what is 'mysqlimport'? : Sql dba

768


What is the difference between joins?

797


what is dbms? : Sql dba

780