SQL 基礎語法整理

update select 以後的數據 update B set B_account = b.s_amount from B a, ( select sum(amount) as s_amount,pay_id from A group by pay_id ) b where a.pay_id = b.pay_id select name from (select name,avg(score)
相關文章
相關標籤/搜索