当前位置: X题卡 > 所有题目 > 题目详情

设有关系模式:SC(sno, cno, grade),各属性含义依次是学号、课程号、分数。将关系SC中所有选修课程号为'DB'的学生的分数增加10分,正确的SQL命令是()

查看本题答案

你可能感兴趣的试题

(Sno,Tno)和{Cno,Cname,Grade,Tno,Tname}  (Sno, Cno, Tno)和{Sno, Sname, Sex, Birthday, Cno}  (Sno, Cno)和{Sno, Sname, Sex, Birthday, Cno, Cname, Grade}  (Sno, Cno, Tno)和{Sno, Sname, Sex, Birthday, Tno, Tname}  
(Sno,Tno)和Cno,Cname,Grade,Tno,Tname  (Sno, Cno,Tno) 和Sno, Sname, Sex, Birthday, Cno  (Sno, Cno)和Sno, Sname, Sex, Birthday, Cno, Cname, Grade  (Sno, Cno,Tno)和Sno, Sname, Sex, Birthday, Tno, Tname  
GROUP BY grade  GROUP BY sno  ORDER BY grade  ORDER BY sno  
SEI,ECT sno FROM SC WH ERE grade BETWEEN O AND 60  SELECT sno FROM SC WHERE grade<60  SELECT sno FROM SC HAVlNG grade BETWEEN O AND 60  SELECT sno FROM SC HAVING grade<60  
ALTER TABLE SC SET GRADE+10 WHERE CNO='DB'  ALTER TABLE SC SET GRADE=GRADE+10 WHERE CNO='DB'  UPDATE SC SET GRADE+10 WHERE CNO='DB'  UPDATE SC SET GRADE=GRADE+10 WHERE CNO='DB'  
(Sno,Tno)和{Cno,Cname,Grade,Tno,Tname}  (Sno, Cno,Tno) 和{Sno, Sname, Sex, Birthday, Cno}  (Sno, Cno)和{Sno, Sname, Sex, Birthday, Cno, Cname, Grade}  (Sno, Cno,Tno)和{Sno, Sname, Sex, Birthday, Tno, Tname}  
GROUP BY grade  GROUP BY sno  ORDER BY grade  ORDER BY sno  
(Sno,Tno)和Cno,Cname,Grade,Tno,Tname  (Sno,Cno,Tno)和Sno,Sname,Sex,Birthday,Cno  (Sno,Cno)和Sno,Shame,Sex,Birthday,Cno,Cname,Grade  (Sno,Cno,Tno)和Sno,Sname,Sex,Birthdayr,Tno,Tname  

热门试题

更多