已知关系:STUDENT(sno,sname,grade),以下关于命令 “CREATE CLUSTER INDEX s_index ON student (grade)” 的描述中,正确的是( )。
A.按成绩降序创建了一个聚簇索引
B.按成绩升序创建了一个聚簇索引
C.π按成绩降序创建了一个非聚簇索引
D.按成绩升序创建了一个非聚簇索引
第1题:
已知关系:STUDENT(sno,sname,grade),以下关于命令 “CREATECLUSTER INDEXS_index ONStudent(grade)”的描述中,正确的是
A.按成绩降序创建了一个聚簇索引
B.按成绩升序创建了一个聚簇索引
C.按成绩降序创建了一个非聚簇索引
D.按成绩升序创建了一个非聚簇索引
第2题:
将SC和Student表连接起来,显示学生的学号、姓名、课程号、考试分数,不正确的SQL语句是()。
A.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC,Student Where SC.Sno=Student.Sno
B.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC Join Student On SC.Sno=Student.Sno
C.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From Student Join SC On SC.Sno=Student.Sno
D.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC,Student On SC.Sno=Student.Sno
第3题:
9、将SC和Student表连接起来,显示学生的学号、姓名、课程号、考试分数,不正确的SQL语句是()。
A.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC,Student Where SC.Sno=Student.Sno
B.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC Join Student On SC.Sno=Student.Sno
C.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From Student Join SC On SC.Sno=Student.Sno
D.Select Student.Sno,Student.Sname, SC.Cno,SC.Grade From SC,Student On SC.Sno=Student.Sno
第4题:
针对数据库S_T,以下创建视图的命令不正确的是()。
A.create view view1 as select sno,avg(grade) from sc group by sno#B.create view view2 as select sno,sname,sdept from student where sdept='CS'#C.create view view3 as select sno,sage+20 from student where ssex='女'#D.create view view4 as select student.sno,sname,sc.sno,cno,grade from sc,student where sc.sno=student.sno and cno='1'第5题:
针对学生选课数据库S_T,以下创建视图的命令不正确的是()。
A.create view view2 as select sno, sname, sdept from student where sdept=’CS’#B.create view view4 as select student.sno, sname, sc.sno, cno, grade from sc, student where sc.sno=student.sno and cno=’1’#C.create view view1 as select sno, avg(grade) from sc group by sno#D.create view view3 as select sno, sage+20 from student where ssex=’女’