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 delete the duplicate records in a table using sql
server

Answer Posted / rakesh pattajoshi

delete from tbl where id not in(select max(id) from tbl group by name)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private constructor? And it's use?

1174


what are the events for a form?

2151


What actually happes when you add a something to arraylistcollection ?

991


Name some changes done since version 3.0?

1019


Is dim fs as filestreamobject is a managed code? : Dot net architecture

1041


What do you know about machine.config file ?

994


What are relation objects in dataset?

1043


data types used in validation control

2265


How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts

1110


Can you explain atlasuiglitz library?

980


What is the use of TPL DATAFLOW?

1089


Explain the five stages in a dlx pipeline? : Dot net architecture

975


Explain about microsoft visual studio?

1028


Explain about developer benefit from memory management?

1003


how to change the title of my window?

1941