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 do you count the duplicate records in a table

Answer Posted / suresh a

select sum(count(col1) -1) from emp
group by col1 having count(col1) > 1

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is data stored in sql?

1002


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1786


What is the sql case statement?

951


why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

1041


Explain what is a column in a table?

1041


What does cursor do in sql?

970


What is server name sql?

1068


When is the explicit cursor used ?

977


What if we write return in procedure?

1334


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

953


what's the difference between a primary key and a unique key? : Sql dba

971


Explain two easy sql optimizations.

959


What are the types of variable use in pl sql?

1010


What do you think about pl/sql?

948


How to change the order of columns in Oracle SQL Plus ?

994