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)
相关文章
相关标签/搜索