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
What are distributed partitioned views?
How to download and install the scaled-down database adventureworkslt?
How many types of dimensions are there and what are they? : sql server analysis services, ssas
Which are the important points to note when multilanguage data is stored in a table?
Why do we use functions?
How will you add a dimension to cube? : sql server analysis services, ssas
What is the chart in report?
Explain active/passive and active/active cluster configurations?
in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration
What are dml triggers and types of dml triggers?
What is join query?
How to find index size for each index on table?
What is a primary key?
Can you explain what is sql server english query?
What is coalesce in sql server?