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
code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that
What is a synonym for manipulation?
What are examples of triggers?
Explain how many types of relationship?
What is clustered index
How to call stored procedure using http soap?
what is normalization? Explain different levels of normalization? : Sql server database administration
List the data types available in mssql?
What is indexed view? How to create it?
In which tcp/ip port does sql server run? Can it be changed?
Some queries related to SQL
What is "scheduled jobs" or "scheduled tasks"?
What happens when the SQL Azure database reaches Max Size?
When multiple after triggers are attached to sql table, how to control the order of execution?
What is format parameter in ssrs?