Subhash Sharma

Subhash Sharma
Subhash Sharma

This is Subhash Sharma(Software Engineer) Blog

Welcome to this blog and find every solution.............

Search This Blog

Software Engineer(Subhash Sharma)

Software Engineer(Subhash Sharma)
Software Engineer
Showing posts with label Delete Duplicate Data through single select query.. Show all posts
Showing posts with label Delete Duplicate Data through single select query.. Show all posts

Thursday, June 10, 2010

Delete Duplicate Data through single select query.

with t as
(
select * , row_number() over (partition by empid order by empid) as rank from emp
)
delete from t where rank>1