How to retrieve duplicate rows in a table?
How to delete the duplicate entries in a table?
Answer Posted / pawan k. dubey
delete from employee
where Emp_id not in (select min(Emp_id) from employee
group by Emp_Name)
| Is This Answer Correct ? | 2 Yes | 12 No |
Post New Answer View All Answers
How do you create an execution plan?
What is sql service broker?
Can you index views?
How do I run sql server 2014?
What is attribute relationships, why we need it? : sql server analysis services, ssas
What is the difference between varchar and nvarchar?
How to use clusters?
What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?
What does it mean to normalize a database and why would you do it?
What is the difference between functions and scalar functions?
What are the three different part of rdl file explain them?
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
How to check if a table is being used in sql server?
Explain having clause?
Why I have to use stored procedures?