Questions tagged «pivot-without-aggregate»

9
没有聚合功能的TSQL Pivot
我有这样的桌子... CustomerID DBColumnName Data -------------------------------------- 1 FirstName Joe 1 MiddleName S 1 LastName Smith 1 Date 12/12/2009 2 FirstName Sam 2 MiddleName S 2 LastName Freddrick 2 Date 1/12/2009 3 FirstName Jaime 3 MiddleName S 3 LastName Carol 3 Date 12/1/2009 我想要这个 使用PIVOT可以吗? CustomerID FirstName MiddleName LastName Date ---------------------------------------------------------------------- 1 …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.