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

How many joins can you have in sql?

523


How do I remove duplicates in two columns?

510


What problem one might face while writing log information to a data-base table in pl/sql?

558


What are the different types of tables in sql?

487


Can I join the same table twice?

526






what are all types of user defined functions? : Sql dba

549


How is data stored on a disk?

542


How do you add a column to a table?

603


What does joining a thread mean?

548


Does a join table need a primary key?

533


Why self join is used in sql?

499


how to use 'mysql' to run sql statements? : Sql dba

539


How delete all data from all tables in sql?

540


Why use subqueries instead of joins?

609


How do I sort a table in sql?

599