我想调换下表
NAME BRUT MALIYET NET
------------------------------------------------
BAZ ÜCRET 16944,44 16944,44 16944,44
MESAİ 0 0 0
SABİT PRİMLER 6452,46 6452,46 6452,46
PERFORMANS PRİMİ 0 0 0
DİĞER ÖDEMELER 0 0 0
İŞÇİ SGK ÖDEMESİ 3278,27 3278,27
İŞVEREN SGK ÖDEMESİ 4314,35
到
NAME BAZ ÜCRET MESAİ SABİT PRİMLER PERFORMANS PRİMİ DİĞER ÖDEMELER İŞÇİ SGK ÖDEMESİ İŞVEREN SGK ÖDEMESİ
----------------------------------------------------------------------------------------------------------------------
NET 16944,44 0 6452,46 0 0 NULL NULL
BRUT 16944,44 0 6452,46 0 0 3278,27 NULL
MALIYET 16944,44 0 6452,46 0 0 3278,27 4314,35
如何透视多个列?谢谢你的帮助
1条答案
按热度按时间m0rkklqb1#
您可以根据需要连续应用unpivot和pivot
演示