mysql 行轉列列轉行

行轉列用group_concat() 列轉行用Max (case when name = 'value' then key else 0 end) 參考網址: http://www.javashuo.com/article/p-nqtgntue-hk.htmlhtml

用函數pivot和unpivot 參考網址: http://www.javashuo.com/article/p-eyfipsqn-gy.html函數

相關文章
相關標籤/搜索