sql 列转行

select
*
From table
unpivot(转换后的列名 FOR 原列明 in(原列名1,原列名2))AS up

原文地址:https://www.cnblogs.com/hxp-wwx/p/8067078.html