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 in a table?
How to delete the duplicate entries in a table?

Answer Posted / dilip

Ans for 1st Query
How to retrieve duplicate rows in a table?

SELECT * FROM EMP1 WHERE (EMP_ID IN (SELECT emp_id FROM
emp1 GROUP BY emp_id HAVING COUNT(emp_id) > 1))

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the contrast amongst drop and truncate?

1030


What is partition in sql server?

1031


List some advantages and disadvantages of stored procedure?

1014


Do you know what are acid properties of transaction?

950


Are semicolons required at the end of sql statements in sql server 2005?

984


Do I need a report server to run reports in my application?

165


Why are views required in the sql server or in any other database?

948


What are the disadvantages of merge replication?

1407


what's the difference between a primary key and a unique key? : Sql server database administration

939


Explain about Views?

1061


Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?

994


What is a matrix in ssrs?

151


How to join two tables in a single query in ms sql server?

985


How to find the service pack installed? : sql server database administration

1019


What is sql server english query?

1111