select * from t2 pivot (max(dd) for wk in ([日],[一],[二],[三],[四],[五],[六])) b
http://topic.csdn.net/u/20101215/15/428F8D05-456E-4B21-A294-FE738481B59C.html
select * from t2 pivot (max(dd) for wk in ([日],[一],[二],[三],[四],[五],[六])) b
http://topic.csdn.net/u/20101215/15/428F8D05-456E-4B21-A294-FE738481B59C.html