How to retrieve duplicate rows in a table?
How to delete the duplicate entries in a table?
Answer Posted / dilip
Ans for 1st Query
How to retrieve duplicate rows in a table?
SELECT * FROM EMP1 WHERE (EMP_ID IN (SELECT emp_id FROM
emp1 GROUP BY emp_id HAVING COUNT(emp_id) > 1))
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What language is sql server written in?
What is the full form of ddl?
What is open database communication (odbc)?
What is the difference between varchar and nvarchar?
Can we call stored procedure in view in sql server?
What does top operator do?
How to add code to the existing article (using improve article)?
Explain acid?
Explain what are page splits? : SQL Server Architecture
Why is the need for data conversion transformations?
How do you use a subquery to find records that exist in one table and do not exist in another?
What are the limitations in ssrs on sql server express edition?
What is the difference between functions and stored procedures?
What is entity data services?
What is primary key and example?