阅读背景:

T-SQL在同一列上具有多个聚合的Pivot

来源:互联网 

This seems like it should be a common need, but I'm not seeing how to do this using T-SQL PIVOT function. Specifically, I want to calculate the AVG and STDEV for a column over a Pivot column value. The data look something like this (lots of data omitted, but this gets to the heart):This seems like it should be a common need, but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: