已知教学管理数据库中学生表的结构如下:学生(学号,姓名,性别,年龄,专业),现要查询专业不是计算机的学生的信息,则查询语句应该是()
A. select * from 学生 where 专业!=计算机
B. select * from 学生 where not 专业=计算机
C. select * from 学生 where 专业 is not 计算机
D. select * from 学生 where not 专业 is 计算机
查看答案
在关系数据库中,作为表的主键应该满足什么条件()
A. 不允许为空
B. 取值不能重复
C. 主键值不允许被改变
D. 不能以多个字段作为主键
已知教学管理数据库中学生表的结构如下:学生(学号,姓名,性别,年龄,专业),现要查询计算机专业学生的人数,则下列查询语句正确的是()
A. select count(学号) from 学生 where 专业=计算机
B. select sum(学号) from 学生 where 专业=计算机
C. select count(*) from 学生 where 专业=计算机
D. select sum(*) from 学生 where 专业=计算机
已知图书管理数据库中借阅表结构如下:借阅(学号,ISBN号,借阅时间,归还时间),现要查询有未归还图书的学生的学号,则下列查询语句错误的是()
A. select 学号 from 借阅 where 归还时间 is null
B. select 学号 from 借阅 where 归还时间=null
C. select 学号 from 借阅 where 归还时间 is null
D. select 学号 from 借阅 where 归还时间=null
SQLServer的登录名sa表示()
A. 系统管理员
B. 数据库拥有者
C. 系统操作员
D. 数据库操作员