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
Are all views updatable ?
What is thr feature of change data capture?
Explain a join?
How many databases Microsoft SQL server provides?
How to create database with physical files specified in ms sql server?
Write a sql query to display the current date?
How much does sql server 2016 cost?
What is sql server 2000 work load governor?
Can you pass expressions to function parameters?
Differentiate between a having clause and a where clause.
Do you know what are acid properties?
How do I find the query plan in sql server?
What is the difference between mysql and sql server?
What is the difference between varchar and nvarchar datatypes?
What is master database? : SQL Server Architecture