Delete duplicate records from the table?(Table must have
unique id)
Answer Posted / dinesh kumar
delete from emp where id Not in(select max(id) id from emp
group by name having count(id)>1)
Is This Answer Correct ? | 22 Yes | 9 No |
Post New Answer View All Answers
How do you delete duplicate records in sql server?
What is subreport?
What is difference between join and natural join?
define and explain the differences between clustered and non-clustered indexes.
How to deploy the Report?
What is the boxing and unboxing concept in .net?
How to connect of datebase with sql express.?
Explain indexing and what are the advantages of it?
Explain having clause and where clause?
What new changes are being made in SQL Server?
How to create a scrollable cursor with the scroll option?
What is the template in sql?
How to see existing views in ms sql server?
What is optimistic concurrency?
What does truncate do?