oracle sql 中更新数据时提示缺失右括号
updatetest4_01setsum_sore=(selectsum(score)assum_scorefromtest4_02)wheretest4_01.sid=...
update test4_01 set sum_sore=(select sum(score) as sum_score from test4_02) where test4_01.sid=test4_02.sid
展开
展开全部
写法不对
update test4_01 set sum_sore =(select sum(score) from test4_02 where test4_01.sid=test4_02.sid)
update test4_01 set sum_sore =(select sum(score) from test4_02 where test4_01.sid=test4_02.sid)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
update test4_01 set sum_sore=(select sum(score) from test4_02) where test4_01.sid=test4_02.sid
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询