标签:blog http ar os sp 数据 div art log
原文:删除sql server中重复的数据with list_numbers as
(
select Name, AuthorOrTime, Url, Price, EstimatePrice, Size, Category,
ROW_NUMBER() over (order by Name, AuthorOrTime, Url, Price, EstimatePrice, Size, Category) as ‘rownumber‘
from Arts
)
delete list_numbers where rownumber not in
(
select min(rownumber) from list_numbers group by Name, AuthorOrTime, Url, Price, EstimatePrice, Size, Category
)
标签:blog http ar os sp 数据 div art log
原文地址:http://www.cnblogs.com/lonelyxmas/p/4135165.html