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 only duplicate values in a table

Answer Posted / suresh babu

select
id,
name
from
(select
id,
name
from
find_dup
group by
id,
name
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

Which is better join or subquery?

1120


Explain the uses of a database trigger?

1017


How to get each name only once from an employee table?

1097


explain mysql aggregate functions. : Sql dba

972


what is single byte over head in oracle..?

2389


What packages are available to pl/sql developers?

1031


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

1043


Explain architecture of sql server notification services?

1039


What is data type in database?

975


How to use sql*plus built-in timers?

1171


Explain the update statement in sql

971


List the various privileges that a user can grant to another user?

1033


What is the size of partition table?

1030


What is sql query optimization?

1090


What is not null in sql?

1037