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. _
以下()不是WHERE子句中可用的逻辑运算符。
AND
B. OR
C. NOT
D. &