APP下载
首页
>
财会金融
>
南京铁道职业技术学院
搜索
南京铁道职业技术学院
题目内容
(
单选题
)
50与查询语句“SELECT ename,dept FROM tb()b%’ ESCAPE’+’;”中LIKE子句相匹配的字符串是()

A、 SaⱣⱤbJ

B、 Sa+ⱣⱤbJ

C、 SacbJ

D、 Sa+cbJ

答案:A

南京铁道职业技术学院
46假设某一个数据库表中有一个姓名字段,查找姓王并且姓名共有两个字的记录,应该用LIKE(B
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-9dd5-c0d6-3f0ad517a300.html
点击查看题目
97.创建存储函数fn(while()的代码如下:
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a57-0569-c0d6-3f0ad517a300.html
点击查看题目
62.假设student表中共有9条记录,而存在name与gender值完全相同的记录有3条,那么使用SELECT DISTINCT name,gender FROM student;语句查询出的记录条数是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-bf58-c0d6-3f0ad517a300.html
点击查看题目
40MySQL服务器的缺省监听端口是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-9171-c0d6-3f0ad517a300.html
点击查看题目
6.设WHERE子句中的条件表达式是:num BETWEEN 20 AND 30其含义是:num的值是20到30范围内的所有整数,且()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-49fd-c0d6-3f0ad517a300.html
点击查看题目
88.下列有关MySQL完整性约束的叙述中,正确的是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-f486-c0d6-3f0ad517a300.html
点击查看题目
21.在存储过程中,使用游标的一般流程是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6a3d-c0d6-3f0ad517a300.html
点击查看题目
57.在使用CREATE USER创建用户时设置口令的命令是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-b3d9-c0d6-3f0ad517a300.html
点击查看题目
23.使用MySQL时,可以在MySQL客户端中执行SQL语句,但下面无法用于执行SQL语句的客户端工具是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6e59-c0d6-3f0ad517a300.html
点击查看题目
91.下面选项中,与“SELECT * FROM student where id not between 2 and 5;”等效的SQL是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-fa4d-c0d6-3f0ad517a300.html
点击查看题目
首页
>
财会金融
>
南京铁道职业技术学院
题目内容
(
单选题
)
手机预览
南京铁道职业技术学院

50与查询语句“SELECT ename,dept FROM tb()b%’ ESCAPE’+’;”中LIKE子句相匹配的字符串是()

A、 SaⱣⱤbJ

B、 Sa+ⱣⱤbJ

C、 SacbJ

D、 Sa+cbJ

答案:A

南京铁道职业技术学院
相关题目
46假设某一个数据库表中有一个姓名字段,查找姓王并且姓名共有两个字的记录,应该用LIKE(B

A. "王%"

B. "王_"

C. "王_ _"

D. "%王%"

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-9dd5-c0d6-3f0ad517a300.html
点击查看答案
97.创建存储函数fn(while()的代码如下:

A. 11

B. 10

C. 0

D. 12

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a57-0569-c0d6-3f0ad517a300.html
点击查看答案
62.假设student表中共有9条记录,而存在name与gender值完全相同的记录有3条,那么使用SELECT DISTINCT name,gender FROM student;语句查询出的记录条数是()

A. 6条

B. 7条

C. 8条

D. 9条

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-bf58-c0d6-3f0ad517a300.html
点击查看答案
40MySQL服务器的缺省监听端口是()

A. 3306

B. 1521

C. 80

D. 1433

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-9171-c0d6-3f0ad517a300.html
点击查看答案
6.设WHERE子句中的条件表达式是:num BETWEEN 20 AND 30其含义是:num的值是20到30范围内的所有整数,且()

A. 包含20和30

B. 不包含20和30

C. 包含20,不包含30

D. 不包含20,包含30

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-49fd-c0d6-3f0ad517a300.html
点击查看答案
88.下列有关MySQL完整性约束的叙述中,正确的是()

A. 实体完整性可由主键约束或候选键约東来实现

B. 对完整性约束只能进行添加操作

C. 使用ALTER TABLE语句删除完整性约束的同时,会自动删除表本身

D. 使用DROP TABLE语句删除一个表的同时,表中的完整性约束不会自动删除

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-f486-c0d6-3f0ad517a300.html
点击查看答案
21.在存储过程中,使用游标的一般流程是()

A. 打开->读取->关闭

B. 声明->填充内容->读取->关闭

C. 声明->打开->读取->关闭

D. 声明->填充内容->打开->读取->关闭

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6a3d-c0d6-3f0ad517a300.html
点击查看答案
57.在使用CREATE USER创建用户时设置口令的命令是()

A. IDENTIFIED BY

B. IDENTIFIED WITH

C. PASSWORD

D. PASSWORD BY

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-b3d9-c0d6-3f0ad517a300.html
点击查看答案
23.使用MySQL时,可以在MySQL客户端中执行SQL语句,但下面无法用于执行SQL语句的客户端工具是()

A. mysql命令行

B. phpMyAdmin

C. mysqlld

D. Navicat工具

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-6e59-c0d6-3f0ad517a300.html
点击查看答案
91.下面选项中,与“SELECT * FROM student where id not between 2 and 5;”等效的SQL是()

A. SELECT * FROM student where id!=2,3,4,5;

B. SELECT * FROM student where id not between 5 and 2;

C. SELECT * FROM student where id not in (2,3,4,5);

D. SELECT * FROM student where id not in 2,3,4,5;

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