APP下载
首页
>
财会金融
>
南京铁道职业技术学院
搜索
南京铁道职业技术学院
题目内容
(
判断题
)
42.在MySQL中,默认约束是指给数据表中的字段指定默认值。

答案:A

南京铁道职业技术学院
39.要想解除两张表的关联关系,首先需要删除外键约束。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-266e-c0d6-3f0ad517a300.html
点击查看题目
26.在MySQL的整数类型中,不同类型所占用的字节数和取值范围都是不同的。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-e90d-c0d6-3f0ad517a300.html
点击查看题目
55.以下不能开启事件调度器的语句是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-afd4-c0d6-3f0ad517a300.html
点击查看题目
49设职工表tb(employee,包含字段eno (职工号)、ename(姓名)、age(年龄)、salary(工资)和dept (所在部门),要查询工资在4000~5000之间(包含4000、5000)的职工号和姓名,正确的WHERE表达式是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-a37d-c0d6-3f0ad517a300.html
点击查看题目
42下面SQL语句中,用于删除user表中id大于5的记录的语句是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-963d-c0d6-3f0ad517a300.html
点击查看题目
60.下列选项中,不能用于备份数据库的是()。
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-badb-c0d6-3f0ad517a300.html
点击查看题目
26.在MySQL中,要删除某个数据表中所有用户数据,不可以使用的命令是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7494-c0d6-3f0ad517a300.html
点击查看题目
93.设有学生表student(sno,sname,sage,amajor),要从student表中检索sname字段值第2个字是“红”的所有学生信息,以下能够按照上述条件进行检索的WHERE表达式是().
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-fe0d-c0d6-3f0ad517a300.html
点击查看题目
1.更新视图有多种方式,并且所有情况下都能执行视图的更新操作。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-7f13-c0d6-3f0ad517a300.html
点击查看题目
5.在MySQL的SQL语句中,要实现类似分页功能的效果,可使用()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-481d-c0d6-3f0ad517a300.html
点击查看题目
首页
>
财会金融
>
南京铁道职业技术学院
题目内容
(
判断题
)
手机预览
南京铁道职业技术学院

42.在MySQL中,默认约束是指给数据表中的字段指定默认值。

答案:A

南京铁道职业技术学院
相关题目
39.要想解除两张表的关联关系,首先需要删除外键约束。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-266e-c0d6-3f0ad517a300.html
点击查看答案
26.在MySQL的整数类型中,不同类型所占用的字节数和取值范围都是不同的。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-e90d-c0d6-3f0ad517a300.html
点击查看答案
55.以下不能开启事件调度器的语句是()

A. SELECT @@EVENTⱣⱤSCHEDULER;

B. SET GLOBAL EVENTⱣⱤSCHEDULER=1;

C. SET GLOBAL EVENTⱣⱤSCHEDULER=TRUE;

D. SET GLOBAL EVENTⱣⱤSCHEDULER=ON;

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-afd4-c0d6-3f0ad517a300.html
点击查看答案
49设职工表tb(employee,包含字段eno (职工号)、ename(姓名)、age(年龄)、salary(工资)和dept (所在部门),要查询工资在4000~5000之间(包含4000、5000)的职工号和姓名,正确的WHERE表达式是()

A. salary BETWEEN 4000 AND 5000

B. salary=5000

C. 4000=<salary<=5000

D. salary IN(4000,5000)

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-a37d-c0d6-3f0ad517a300.html
点击查看答案
42下面SQL语句中,用于删除user表中id大于5的记录的语句是()

A. DELETE FROM user where id>5;

B. DELETE FROM user set id>5;

C. DELETE user where id>5;

D. DELETE user set id>5;

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-963d-c0d6-3f0ad517a300.html
点击查看答案
60.下列选项中,不能用于备份数据库的是()。

A. mysqladmin

B. phpMyAdmin

C. mysqldump

D. SELECT语句

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-badb-c0d6-3f0ad517a300.html
点击查看答案
26.在MySQL中,要删除某个数据表中所有用户数据,不可以使用的命令是()

A. DELETE

B. TRUNCATE

C. DROP

D. 以上方式皆不可用

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7494-c0d6-3f0ad517a300.html
点击查看答案
93.设有学生表student(sno,sname,sage,amajor),要从student表中检索sname字段值第2个字是“红”的所有学生信息,以下能够按照上述条件进行检索的WHERE表达式是().

A. sname LIKE ’_红%’

B. sname LIKE ’_红_’

C. sname LIKE ’%红%’

D. sname LIKE ’ %红_’

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-fe0d-c0d6-3f0ad517a300.html
点击查看答案
1.更新视图有多种方式,并且所有情况下都能执行视图的更新操作。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-7f13-c0d6-3f0ad517a300.html
点击查看答案
5.在MySQL的SQL语句中,要实现类似分页功能的效果,可使用()

A. LIMIT

B. ORDER BY

C. WHERE

D. TRUNCATE

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