题目内容

1.在数据库标准语言SQL中,关于NULL值叙述正确选项是()。

A. NULL 表示空格
B. NULL表示0
C. NULL既可以表示0,也可以表示是空格
D. NULL表示空值

查看答案
更多问题

3.在select语句中利用()关键字能够去除结果表中重复的记录。

A. top
B. into
C. distinct
D. add

4.分别统计男女生人数正确的SELECT命令为()。

A. select count(*) from student where sex='男' and sex='女'
B. select count(*) from student where sex='男' or sex='女'
C. select count(*) from student order by sex
D. select count(*) from student group by sex

5.关于查询语句中 ORDER BY 子句使用正确的是()。

A. 如果未指定排序字段,则默认按递增排序
B. 数据表的字段都可用于排序
C. 如果在SELECT子句使用DISTINCT关键字,则排序字段必须出现在查询结果中
D. 连接查询不允许使用ORDER BY子句

6.Select语句中()表示任意的任意个字符。

A. ?
B. *
C. !
D. _

答案查题题库