舉例SQL跟邏輯: update T2 set T2.是否停權= 'Y' from ( --先整理玩家訂單總金額 select 玩家ID,sum(金額) 總金額from 訂單T1 group by 玩家ID ) T1 left join 玩家 ...
確定! 回上一頁