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 / pawan k. dubey

delete from employee
where Emp_id not in (select min(Emp_id) from employee
group by Emp_Name)

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create an execution plan?

882


What is sql service broker?

929


Can you index views?

846


How do I run sql server 2014?

936


What is attribute relationships, why we need it? : sql server analysis services, ssas

906


What is the difference between varchar and nvarchar?

895


How to use clusters?

881


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

1024


What does it mean to normalize a database and why would you do it?

934


What is the difference between functions and scalar functions?

1121


What are the three different part of rdl file explain them?

253


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2436


How to check if a table is being used in sql server?

901


Explain having clause?

906


Why I have to use stored procedures?

977