“把查询SC表和更新SC表的grade列的权限授予用户user”的正确SQL语句是( )。 A: GRANT SELECT sc.UPDATE sc.grade TO user B: GRANT SELECT,UPDATE(grade)ON TABLE sc TO user C: GRANT SELECT,UPDATE ON TABLE sc.grade TO user D: GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user
“把查询SC表和更新SC表的grade列的权限授予用户user”的正确SQL语句是( )。 A: GRANT SELECT sc.UPDATE sc.grade TO user B: GRANT SELECT,UPDATE(grade)ON TABLE sc TO user C: GRANT SELECT,UPDATE ON TABLE sc.grade TO user D: GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user
【单选题】检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是 A. SELECT S.SN,SC.C#,SC.GRADE FROM S WHERE S.S#=SC.S# B. SELECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADE C. SELECT S.SN,SC.C#,SC.GRADE FROM S,SC WHERE S . S#=SC . S# D. SELECT S.SN,SC.C#,SC.GRADE FROM S . SC
【单选题】检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是 A. SELECT S.SN,SC.C#,SC.GRADE FROM S WHERE S.S#=SC.S# B. SELECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADE C. SELECT S.SN,SC.C#,SC.GRADE FROM S,SC WHERE S . S#=SC . S# D. SELECT S.SN,SC.C#,SC.GRADE FROM S . SC
三个表学生表S、课程表C 和学生选课表 SC,它们的结构如下: S(S#,SN,SEX,AGE,DEPT)<br/>C(C#,CN)<br/>SC(S#,C#,GRADE)<br/>其中:S#为学号,SN 为姓名,SEX 为性别,AGE 为年龄,DEPT 为系别,C#为课程号,CN 为课程名,GRADE 为成绩。<br/>检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是( )。 A: SELECT S,SN,SC#,SC.GRADE FROM S WHERE S.S#=SC.S# B: SELECT SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADE C: SELECT SN,SC.C#,SC.GRADE FROM S,SC WHERE S.S#=SC.S D: SELECT SN,SC.C#,SC.GRADE FROM S.SC
三个表学生表S、课程表C 和学生选课表 SC,它们的结构如下: S(S#,SN,SEX,AGE,DEPT)<br/>C(C#,CN)<br/>SC(S#,C#,GRADE)<br/>其中:S#为学号,SN 为姓名,SEX 为性别,AGE 为年龄,DEPT 为系别,C#为课程号,CN 为课程名,GRADE 为成绩。<br/>检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是( )。 A: SELECT S,SN,SC#,SC.GRADE FROM S WHERE S.S#=SC.S# B: SELECT SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADE C: SELECT SN,SC.C#,SC.GRADE FROM S,SC WHERE S.S#=SC.S D: SELECT SN,SC.C#,SC.GRADE FROM S.SC
三个表学生表S、课程表C 和学生选课表<br/>SC,它们的结构如下:<br/>S(S#,SN,SEX,AGE,DEPT)<br/>C(C#,CN)<br/>SC(S#,C#,GRADE)<br/>其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。<br/>检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是( )。 A: SELECT<br/>S,SN,SC#,SC.GRADE<br/>FROM S WHERE B: SELECT C: SELECT D: SELECT E: S#=SS# F: SN,SC#,SC.GRADE FROM SC WHERE G: S#=SGRADE H: SN,SC#,SC.GRADE FROM S,SC WHERE I: S#=SS# J: SN,SC#,SC.GRADE FROM K: SC
三个表学生表S、课程表C 和学生选课表<br/>SC,它们的结构如下:<br/>S(S#,SN,SEX,AGE,DEPT)<br/>C(C#,CN)<br/>SC(S#,C#,GRADE)<br/>其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。<br/>检索学生姓名及其所选修课程的课程号和成绩。正确的 SELECT 语句是( )。 A: SELECT<br/>S,SN,SC#,SC.GRADE<br/>FROM S WHERE B: SELECT C: SELECT D: SELECT E: S#=SS# F: SN,SC#,SC.GRADE FROM SC WHERE G: S#=SGRADE H: SN,SC#,SC.GRADE FROM S,SC WHERE I: S#=SS# J: SN,SC#,SC.GRADE FROM K: SC
已知关系模式:sc(sno,sname,grade),各属性含义依次为学号、课程名、分数。要查找“数据库”课分数最高的学生的学号,正确的SQL语句是 A: SELECT sno FROM sc WHERE sname = "数据库" AND grade = MAX(grade) B: SELECT sno FROM sc FOR sname = "数据库" OR grade>=MAX(grade) C: SELECT sno FROM sc WHERE sname = "数据库" AND grade = (SELECT MAX(grade) FROM sc) D: SELECT sno FROM sc FOR sname = "数据库" OR grade = (SELECT MAX(grade) FROM sc)
已知关系模式:sc(sno,sname,grade),各属性含义依次为学号、课程名、分数。要查找“数据库”课分数最高的学生的学号,正确的SQL语句是 A: SELECT sno FROM sc WHERE sname = "数据库" AND grade = MAX(grade) B: SELECT sno FROM sc FOR sname = "数据库" OR grade>=MAX(grade) C: SELECT sno FROM sc WHERE sname = "数据库" AND grade = (SELECT MAX(grade) FROM sc) D: SELECT sno FROM sc FOR sname = "数据库" OR grade = (SELECT MAX(grade) FROM sc)
检索选修课程“C2”的学生中成绩最高的学生的学号。正确的SELECT语句是()。 A: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE >= ( SELECT GRADE FORM SC WHERE CNO='C2' ); B: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE IN ( SELECT GRADE FORM SC WHERE CNO='C2' ); C: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE NOT IN ( SELECT GRADE FORM SC WHERE CNO='C2' ); D: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE >= ALL ( SELECT GRADE FORM SC WHERE CNO='C2' );
检索选修课程“C2”的学生中成绩最高的学生的学号。正确的SELECT语句是()。 A: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE >= ( SELECT GRADE FORM SC WHERE CNO='C2' ); B: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE IN ( SELECT GRADE FORM SC WHERE CNO='C2' ); C: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE NOT IN ( SELECT GRADE FORM SC WHERE CNO='C2' ); D: SELECT SNO FROM SC WHERE CNO='C2' AND GRADE >= ALL ( SELECT GRADE FORM SC WHERE CNO='C2' );
检索选修课程"C2”的学生中成绩最高的学生的学号,正确的SELECT语句是______。 A: SELECT S# FORM SC WHERE C#="C2"AND GRADE>=(SELECT GRADE FORM SC WHERE C#="C2") B: SELECT S# FORM SC WHERE C#="C2"AND GRADE IN(SELECT GRADE FORM SC) WHERE C#="C2" C: SELECT S# FORM SC WHERE C#="C2"AND GRADE NOT IN(SELECT GRADE FORM SC WHERE C#="C2") D: SELECT S# FORM SC WHERE C#="C2"AND GRADE>=ALL(SELECT GRADE FORM SC WHERE C#="C2")
检索选修课程"C2”的学生中成绩最高的学生的学号,正确的SELECT语句是______。 A: SELECT S# FORM SC WHERE C#="C2"AND GRADE>=(SELECT GRADE FORM SC WHERE C#="C2") B: SELECT S# FORM SC WHERE C#="C2"AND GRADE IN(SELECT GRADE FORM SC) WHERE C#="C2" C: SELECT S# FORM SC WHERE C#="C2"AND GRADE NOT IN(SELECT GRADE FORM SC WHERE C#="C2") D: SELECT S# FORM SC WHERE C#="C2"AND GRADE>=ALL(SELECT GRADE FORM SC WHERE C#="C2")
针对表SC(sno, cno, grade),其中sno为学号,cno为课程号,grade为成绩。以下哪个操作( )统计出每位学生所选课程的最高分和最低分。 A: select sno,max(grade), min(grade) from sc B: select sno,max(grade), min(grade) from sc order by sno C: select sno,max(grade), min(grade) from sc group by sno D: select sno,avg(grade), sum(grade) from sc group by sno
针对表SC(sno, cno, grade),其中sno为学号,cno为课程号,grade为成绩。以下哪个操作( )统计出每位学生所选课程的最高分和最低分。 A: select sno,max(grade), min(grade) from sc B: select sno,max(grade), min(grade) from sc order by sno C: select sno,max(grade), min(grade) from sc group by sno D: select sno,avg(grade), sum(grade) from sc group by sno
已知关系模式:SC(sno,sname,grade),各属性含义依次为学号、课程名、分数。要查找“数据库”课分数最高的学生的学号,正确的SQL语句是( )。 A: SELECT sno FROM sc WHERE sname="数据库"AND grade=MAX(grade) B: SELECT sno FROM sc FOR sname="数据库"OR grade>=MAX(grade) C: SELECT sno FROM sc WHERE sname="数据库"AND grade=(SELECT MAX(grade)FROM sc) D: SELECT sno FROM sc FOR sname="数据库"OR grade=(SELECT MAX(grade)FROM s
已知关系模式:SC(sno,sname,grade),各属性含义依次为学号、课程名、分数。要查找“数据库”课分数最高的学生的学号,正确的SQL语句是( )。 A: SELECT sno FROM sc WHERE sname="数据库"AND grade=MAX(grade) B: SELECT sno FROM sc FOR sname="数据库"OR grade>=MAX(grade) C: SELECT sno FROM sc WHERE sname="数据库"AND grade=(SELECT MAX(grade)FROM sc) D: SELECT sno FROM sc FOR sname="数据库"OR grade=(SELECT MAX(grade)FROM s
检索选修了课程”C1”的学生中成绩最高的学生的学号,正确的SELECT语句为( ) A: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE >=ALL (SELECT Grade FROM SC WHERE Cno=’C1’); B: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE IN (SELECT Grade FROM SC WHERE Cno=’C1’); C: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE > ANY (SELECT Grade FROM SC WHERE Cno=’C1’); D: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE >= (SELECT Grade FROM SC WHERE Cno=’C1’);
检索选修了课程”C1”的学生中成绩最高的学生的学号,正确的SELECT语句为( ) A: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE >=ALL (SELECT Grade FROM SC WHERE Cno=’C1’); B: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE IN (SELECT Grade FROM SC WHERE Cno=’C1’); C: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE > ANY (SELECT Grade FROM SC WHERE Cno=’C1’); D: SELECT Sno FROM SC WHERE Cno=’C1’ AND GRADE >= (SELECT Grade FROM SC WHERE Cno=’C1’);