SQL SERVER 语句错误 消息 102,级别 15,状态 1,第 7 行 'AVG' 附近有语法错误。
UPDATESCSETGRADE=GRADE*10%+GRADEWHERESNOIN(SELECTSNOFROMSCGROUPBYSNOHAVNGAVG(GRADE)>7...
UPDATE SC
SET GRADE=GRADE*10%+GRADE
WHERE SNO IN
(SELECT SNO
FROM SC
GROUP BY SNO
HAVNG AVG(GRADE)>75)
啊看不出来哪里错了 展开
SET GRADE=GRADE*10%+GRADE
WHERE SNO IN
(SELECT SNO
FROM SC
GROUP BY SNO
HAVNG AVG(GRADE)>75)
啊看不出来哪里错了 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询