select a,b,
sum(case when c = 10 then c else 0 end) as c_10,
sum(case when c = 11 then c else 0 end) as c_11,
sum(case when c = 12 then c else 0 end) as c_12
from table1
group by a,b
uj5u.com熱心網友回復:
沒明白你具體要怎么樣的資料uj5u.com熱心網友回復:
這個是在分享嗎?感謝分享!
uj5u.com熱心網友回復:
abc都是什么uj5u.com熱心網友回復:
欄位







轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/39896.html
標籤:開發
