Pivot 行轉列用法

源視圖: 使用 Pivot 行轉列進行處理; 語句如下: select m.*,a.A as AccountA,a.B as AccountB,a.C as AccountC,a.D as AccountD,a.E as AccountE,a.F as AccountF,a.G as AccountG from     (select TypeCode,Account,MainCode from
相關文章
相關標籤/搜索