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
相关文章
相关标签/搜索