Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / lakshmi narayana

select * from emp a ,
(select empno,count(*) from emp group by empno having count
(*) > 1) b
where a.empno = b.empno

Is This Answer Correct ?    27 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How show all rows in sql?

1009


Is it possible to link two groups inside a cross products after the cross products group has been created?

1002


What is sql keyword?

992


Can we create view in stored procedure?

955


what is bcp? When does it used? : Sql dba

982


What is the process of debugging?

1061


Define commit, rollback and savepoint?

1021


What is over () in sql?

946


Is mariadb nosql?

1037


What are the differences between implicit and explicit cursors?

1059


How do I partition a table in sql?

1120


How to sort the rows in sql.

1065


What are the two different parts of the pl/sql packages?

1077


Inline the values in PL/SQL, what does it mean.?

1212


What does sign mean sql?

1091