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
What is precedence constraint?
How to download and install sql server 2005 books online?
What is the use of commit?
Explain various data region available in ssrs with their use?
What is a schema in ms sql server 2005?
How can you stop stored procedures from recompiling?
What is subquery in sql?
What are the 10 characteristics of data quality?
Define indexes?
Where the sql logs gets stored?
What is a sql join?
Are null values the same as that of zero or a blank space?
What are the database roles? : sql server security
What samples and sample databases are provided by microsoft?
In which tcp/ip port does sql server run? Can it be changed?