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...

Is it possible to delete duplicate rows in a table without
using a temporary table ?

Answer Posted / kumar

sno names
1 arun
2 arun
3 arun
6 arun
7 bala
11 bala
12 guna
9 guna
14 guna
10 raj
13 raj

Table Name T1
Fields Names Sno,Names
Delete From t1 where sno not in
(select min(sno) from t1 group by names)

Is This Answer Correct ?    17 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention a few common trace flags used with sql server?

941


How to count duplicated values in a column in ms sql server?

1100


Detail about query optimizer?

1115


what are different types of backups available in sql server? : Sql server database administration

943


what data regions are and what are the different data regions?

142


What is database white box testing?

1132


How to truncate the log in sql server 2012? : sql server database administration

1300


What do mean by xml datatype?

1113


Tell me what do we need queues in sql service broker?

1005


What are extended events in sql server?

963


What are entities and relationships?

979


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1143


What does set rowcount do?

915


How are the unique and primary key constraints different?

1082


What are the advantages of passing name-value pairs as parameters?

1171