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

Why do we need sharding?

988


What company owns postgresql?

1028


Which command is used to delete a trigger?

1330


What is parameter substitution in sql?

1027


how to concatenate two character strings? : Sql dba

1099


What is the difference between alter trigger and drop trigger statements?

1107


can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba

993


How to run sql statements through the web interface?

1039


Does truncate need commit?

942


Why stored procedure is faster than query?

1060


Why does sql need a server?

1037


How does left join work in sql?

1001


How many row comparison operators are used while working with a subquery?

1030


How many scalar data types are supported in pl/sql?

1055


What is a pl/sql block?

1225