APP下载
首页
>
财会金融
>
南京铁道职业技术学院
搜索
南京铁道职业技术学院
题目内容
(
单选题
)
62.假设student表中共有9条记录,而存在name与gender值完全相同的记录有3条,那么使用SELECT DISTINCT name,gender FROM student;语句查询出的记录条数是()

A、 6条

B、 7条

C、 8条

D、 9条

答案:B

南京铁道职业技术学院
47.在MySQL中,删除存储过程使用的是DELETE语句。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-3a59-c0d6-3f0ad517a300.html
点击查看题目
70.SQL语句中,判断字段depno是否为空值时,应该使用的表达式是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-d08a-c0d6-3f0ad517a300.html
点击查看题目
30.下列关于AUTO(INCREMENT的描述中,不正确的是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7cc8-c0d6-3f0ad517a300.html
点击查看题目
24.为字段设定默认值,需要使用的关键字是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7081-c0d6-3f0ad517a300.html
点击查看题目
23.在进行左外连接时,如果左表的某条记录在右表中不存在,则在右表中显示为空。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-e057-c0d6-3f0ad517a300.html
点击查看题目
1.在MySQL中,可用于创建一个新数据库的SQL语句为()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-2c5b-c0d6-3f0ad517a300.html
点击查看题目
22.在GRANT ALL ON *.* TO …授权语句中,ALL和*.*的含义分别是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6c53-c0d6-3f0ad517a300.html
点击查看题目
72.在MySQL的SQL语句中,要实现类似分页功能的效果,可使用()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-d49c-c0d6-3f0ad517a300.html
点击查看题目
29.在MySQL中,下列有关CHAR和VARCHAR的比较中,不正确的是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7ac6-c0d6-3f0ad517a300.html
点击查看题目
63.下列关于视图的叙述中,正确的是()。
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-c263-c0d6-3f0ad517a300.html
点击查看题目
首页
>
财会金融
>
南京铁道职业技术学院
题目内容
(
单选题
)
手机预览
南京铁道职业技术学院

62.假设student表中共有9条记录,而存在name与gender值完全相同的记录有3条,那么使用SELECT DISTINCT name,gender FROM student;语句查询出的记录条数是()

A、 6条

B、 7条

C、 8条

D、 9条

答案:B

南京铁道职业技术学院
相关题目
47.在MySQL中,删除存储过程使用的是DELETE语句。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-3a59-c0d6-3f0ad517a300.html
点击查看答案
70.SQL语句中,判断字段depno是否为空值时,应该使用的表达式是()

A. depno IS NULL

B. depno=NULL

C. depno NULL OR NOT

D. 以上方式皆可

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-d08a-c0d6-3f0ad517a300.html
点击查看答案
30.下列关于AUTO(INCREMENT的描述中,不正确的是()

A. 一个表只能有一个AUTO_INCREMENT属性

B. 该属性必须定义为主键的一部分

C. 在默认情况下,AUTO_INCREMENT的开始值是1,每条新记录递增

D. 只有INT类型能够定义为AUTO_INCREMENT

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7cc8-c0d6-3f0ad517a300.html
点击查看答案
24.为字段设定默认值,需要使用的关键字是()

A. NULL

B. TEMPORARY

C. EXISTS

D. DEFAULT

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7081-c0d6-3f0ad517a300.html
点击查看答案
23.在进行左外连接时,如果左表的某条记录在右表中不存在,则在右表中显示为空。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-e057-c0d6-3f0ad517a300.html
点击查看答案
1.在MySQL中,可用于创建一个新数据库的SQL语句为()

A. CREATE DATABASE

B. CREATE TABLE

C. CREATE DATABASES

D. CREATE DB

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-2c5b-c0d6-3f0ad517a300.html
点击查看答案
22.在GRANT ALL ON *.* TO …授权语句中,ALL和*.*的含义分别是()

A. 所有权限、所有数据表

B. 所有数据库表、所有权限

C. 所有用户、所有权限

D. 所有权限、所有用户

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6c53-c0d6-3f0ad517a300.html
点击查看答案
72.在MySQL的SQL语句中,要实现类似分页功能的效果,可使用()

A. LIMIT

B. ORDER BY

C. WHERE

D. TRUNCATE

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-d49c-c0d6-3f0ad517a300.html
点击查看答案
29.在MySQL中,下列有关CHAR和VARCHAR的比较中,不正确的是()

A. CHAR是固定长度的字符类型,VARCHAR则是可变长度的字符类型

B. 由于CHAR固定长度,所以在处理速度上要比VARCHAR快,但是会占更多存储空间

C. CHAR和VARCHAR的最大长度都是255

D. 使用CHAR字符类型时,将自动删除末尾的空格

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7ac6-c0d6-3f0ad517a300.html
点击查看答案
63.下列关于视图的叙述中,正确的是()。

A. 使用视图,能够屏蔽数据库的复杂性

B. 更新视图数据的方式与更新表中效据的方式相同

C. 视图上可以建立索引

D. 使用视图,能够提高数据更新的速度

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-c263-c0d6-3f0ad517a300.html
点击查看答案
试题通小程序
试题通app下载