在关系SC中,查询学习课程号为′DB′,且成绩在60至90之间的学生学号的正确的 SQL命令是A.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE DETWEEN 60 AND 90B.SELECT SNO FROM SC WHERE CNO=′DB′OR GRADE BETWEEN 60 AND 90C.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE>=60 AND 90D.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE<=60 AND GRADE>=90

在关系SC中,查询学习课程号为′DB′,且成绩在60至90之间的学生学号的正确的 SQL命令是

A.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE DETWEEN 60 AND 90

B.SELECT SNO FROM SC WHERE CNO=′DB′OR GRADE BETWEEN 60 AND 90

C.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE>=60 AND 90

D.SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE<=60 AND GRADE>=90


相关考题:

在关系SC中,查询学习课程号为\'DB\',且成绩在60至90之间的学生学号的正确的SQL命令是( )。A.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE BETWEEN 60 AND 90B.SELECT SNO FROM SC WHERE CN0='DB' 0R GRADE BETWEEN 60 AND 90C.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE=60 AND 90D.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE=60 AND GRADE=90

在关系SC中,查询学习课程号为'DB',且成绩在60至90之间的学生学号的正确的SQL命令是( )。A.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE BETWEEN 60 AND 90B.SELECT SNO FROM SC WHERE CN0='DB' 0R GRADE BETWEEN 60 AND 90C.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE=60 AND 90D.SELECT SNO FROM SC WHERE CNO='DB'AND GRADE=60 AND GRADE=90

在关系SC中,查询学习课程号为'OB',且成绩在60至90之间的学生学号的正确的 SQL命令是A.SELECT SNO FROMSC WHERE CNO='DB' AND GRADE BETWEEN 60 AND 90B.SELECT SNO FROM SC WHERE CNO='DB' OR GRADE BETWEEN 60 AND 90C.SELECT SNO FROM SC WHERE CNO='DB' AND GRADE>=60 AND 90D.SELECTSNO FROM SCWHERECNO='DB' AND GRADE<=60 AND GRADE>=90

以下2题基于以下说明。设有三个关系学生关系S(SNO,SNAME,AGE,SEX)(分别代表学生的学号、姓名、年龄、性别)学习关系SC(SNO,CNO,GRADE)(分别代表学生的学号、课程编号、成绩)课程关系C(CNO,CNAME,TEACHER)(分别代表课程的编号、课程名、任课教师)“从学习关系SC中检索无成绩的学生学号”的SQL语句是A.SELECT sno FROM sc WHERE grade=NULLB.SELECT sno FROM sc WHERE grade ISC.SELECT sno FROM sc WHERE grade IS NULLD.SELECT sno FROM sc WHERE grade=0

以下2题基于以下说明。设有三个关系学生关系S(SNO,SNAME,AGE,SEX) (分别代表学生的学号、姓名、年龄、性别)学习关系SC(SNO,CNO,GRADE) (分别代表学生的学号、课程编号、成绩)课程关系C(CNO,CNAME,TEACHER) (分别代表课程的编号、课程名、任课教师)“从学习关系SC中检索无成绩的学生学号”的SQL语句是A.SELECT sno FROM sc WHERE grade=NULLB.SELECT sno FROM sc WHERE grade ISC.SELECT sno FROM sc WHERE grade IS NULLD.SELECT sno FROM sc WHERE grade=0

查询成绩在70分至85分之间学生的学号、课程号和成绩,正确的SQL语句是( )。A.SELECT学号,课程号,成绩FROM SC WHERE成绩BETWEEN 70 AND 85B.SELECT学号,课程号,成绩FROM SC WHERE成绩=70 OR成绩=85 from= sc==70 OR=85 from= sc==70 AND=85

设有学生选课表:SC(学号,课程号,成绩),要求在该表中查询缺少学习成绩的学生学号和课程号,实现此查询要求的SELECT语句是______。A.SELECT 学号,课程号 FROM SC WHERE 成绩 IS NULLB.SELECT 学号,课程号 FROM SC WHERE 成绩 IS NOT NULLC.SELECT 学号,课程号 FROM SC WHERE 成绩=NOT NULLD.SELECT 学号,课程号 FROM SC WHERE 成绩=NULL

15、下列SQL语句中,_____________可以在“学生-课程”数据库正确实现“查询选修2号课程且成绩在90分以上的所有学生的学号和姓名”。A.SELECT Sno, Sname FROM Student, SC WHERE Student.Sno = SC.Sno AND SC.Cno= ‘2’ AND SC.Grade > 90B.SELECT Student.Sno, Sname FROM Student, SC WHERE Student.Sno = SC.Sno AND SC.Grade > 90C.SELECT Sno, Sname FROM Student, SC WHERE SC.Cno= ‘2’ AND SC.Grade > 90D.SELECT Student.Sno, Sname FROM Student, SC WHERE Student.Sno = SC.Sno AND SC.Cno= ‘2’ AND SC.Grade > 90

学生—课程数据库有如下三个关系: 学生关系S(Sno,Sname,Sage,Ssex,Sdept) 课程关系C(Cno,Cname,Cpno,Ccredit) 学生选课关系SC(Sno,Cno,Grade) (1) 请用SQL语言完成下列操作: ①查询选修了3门以上课程的学生学号。 ②查询选修2号课程且成绩在90分以上的学生姓名。 (2) 试用关系代数语言描述: ①查询所选课程包含学号为“1692”学生所选课程的学生学号。 ②查找选修“数据库原理”课程且成绩不及格的学生学号、姓名和性别。