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
Tell me what is a linked server?
What stored by the tempdb ? : sql server database administration
How check triggers in sql server?
What is the difference between indexing and hashing?
What is sql server profiler trace data file?
What is the difference between varchar and varchar(max) datatypes?
Explain system functions or built-in functions? What are different types of system functions?
What is the filtered index?
what are the different types of SSRS reports?
Write a sql query to sort on different column name according to the parameters passed in the function?
How to recover from sql injection? : sql server security
How do I connect to sql server database?
What protocol does sql server use?
What are the advantages of using third-party tools?
How to use wildcard characters in like operations in ms sql server?