标签:
例如出现BID为1673的两条重复数据,要第一条
select * from(select no=row_number() over(partition by Bid order by getdate()),* from BidWinningNotice) twhere no=1 AND SID=238 AND BWMType=1
SQL中遇到多条相同内容只取一条的实现
原文地址:http://www.cnblogs.com/yf2011/p/5055005.html