Sqlserver 行转列

select * from #RESULT2 pivot(sum(value) for company in ( [312AE], [306AE-Consolidation Total], [306AE], [320AE], [320AC], [312AC], [306AE-Consolidation Differ], [306AC] ))a
相关文章
相关标签/搜索