B树唯一索引
B树不唯一索引
基于函数的索引
位图索引
第1题:
对于数据表:student(sno,sname,sex,age,grade),查询学习成绩为空的学生的学号和姓名,下面语句正确的是______。
A.SELECT sno,sname FROM student WHERE gade=NULL
B.SELECT sno,sname FROM student WHERE grade IS NULL
C.SELECT sno,age FROM student WHERE grade IS NULL
D.SELECT mo,age FROM student WHERE grade=NULL
第2题:
对于学生信息表:student(sno, sname, sex, age, dept),能够得到年龄在20岁于22岁之间的学生的姓名和学号的语句是
A.SELECT * FROM student WHERE age BETWEEN 20 AND 22
B.SELECT sname, sno FROM student WHERE age BETWEEN 20 AND 22
C.SELECT sname,sno FROM student WHERE age>=20
D.SELECT shame,sno FROM student WHERE age<=22
第3题:
对于学生信息表:student(sno,sname,sex,age,dept),能够得到年龄在20岁到22岁之间的学生的姓名和学号的语句是
A.SELECT * FROM student WHERE age BETWEEN 20 AND 22
B.SELECT sname,sno FROM student WHERE age BETWEEN 20 AND 22
C.SELECT sname,sno FROM student WHERE age>=20
D.SELECT sname,sno FROM student WHERE age<=22
第4题:
A.全局分区索引
B.位图索引
C.复合索引
D.基于函数的索引
第5题:
A.B树唯一索引
B.B树不唯一索引
C.基于函数的索引
D.位图索引
第6题:
对于学生信息表:student(sno,sname,sex,age,dept),要查询所有刘姓学生的信息,正确的语句是
A.SELECT * FROM student WHERE sname LIKE'刘 * '
B.SELECT * FROM student WHERE sname LIKE'刘 $'
C.SELECT * FROM student WHERE sname LIKE'刘%'
D.SELECT * FROM student WHERE sname LIKE'刘&'
第7题:
A.全部创建B树索引
B.全部创建位图索引
C.分别创建B树索引、位图索引和位图索引
D.分别创建B树索引、位图索引和给予函数的索引
第8题:
②为了提高查询性能,数据库管理员在Students表的SName列上建立了一个非聚集索引SName _ind。如果应用程序使用如下语句查询数据:
SELECT*FROM Students WHERE SName like‘%华’
请问SName_ind索引是否能够提高语句的查询速度,并给出原因。
第9题:
A.B树唯一索引
B.B树不唯一索引
C.基于函数的索引
D.位图索引
第10题:
A.反向索引
B.B树索引
C.位图索引
D.基于函数的索引