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

设有关系SC(sno, cno, grade)。 执行SQL语句:SELECT sno, AVG(grade)FROM SC GROUP BY sno的结果中的元组数是

查看本题答案

你可能感兴趣的试题

(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  
只有SNO不能取空值  只有CNO不能取空值  只有GRADE不能空值  SNO与CNO都不能取空值  
只有SNO不能取空值  只有CNO不能取空值  只有GRADE 能取空值  SNO与CNO都不能取空值  
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不能取空值  只有CNO不能取空值  只有GRADE不能取空值  SNO与CNO都不能取空值  
SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE DETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=′DB′OR GRADE BETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE>=60 AND 90  SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE<=60 AND GRADE>=90  
(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不能取空值  只有cno不能取空值  sno和cno都不能取空值  只有grade不能取空值  
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'  
GROUP BY grade  GROUP BY sno  ORDER BY grade  ORDER BY sno  
只有SNO不能取空值  只有CNO不能取空值  只有GRADE不能取空值  SNO与CNO都不能取空值  
只有SNO不能取空值  只有CNO不能取空值  只有GRADE不能取空值  SNO与CNO都不能取空值  
只有SNO能取空值  只有CNO能取空值  只有GRADE不能取空值  SNO与CNO都不能取空值  
(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  
SELECT SNO FROMSC WHERE CNO=’DB’ AND GRADE BETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=’DB’ OR GRADE BETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=’DB’ AND GRADE>=60 AND 90  SELECTSNO FROM SCWHERECNO=’DB’ AND GRADE<=60 AND GRADE>=90  

热门试题

更多