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
What are end points, contract, address and bindings?
Explain about continuable exceptions?
What is Opf3
How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts
What is an interrupt? : .NET Architecture
What is .net mobile forms? : Microsoft dot net mobile
Can I create my own permission set?
Explain difference between state server and sqlserver? : .NET Architecture
Explain the Lapsed Listener problem in .net
What are bindings?
What is code access security (cas)?
What is difference between .net and visual studio?
What is .net mobile lists. Explain with an example? : Microsoft dot net mobile
What is private constructor? And it's use?
What is a virtual memory? : Dot net architecture