select Top (@requireCount) *
from dbo.RecommendationByCategoryID t
where t.categoryID=@categoryID
order by t.score DESC
END
from dbo.RecommendationByCategoryID t
where t.categoryID=@categoryID
order by t.score DESC
END
转载于:https://blog.51cto.com/javaz/408590