APP下载
首页
>
财会金融
>
南京铁道职业技术学院
搜索
南京铁道职业技术学院
题目内容
(
单选题
)
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;

答案:C

南京铁道职业技术学院
59.在MySQL5.5中,使用日志文件恢复数据的命令是()。
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-b8dd-c0d6-3f0ad517a300.html
点击查看题目
50.右连接返回的结果不一定包含右表中所有的数据。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-41e5-c0d6-3f0ad517a300.html
点击查看题目
97.创建存储函数fn(while()的代码如下:
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a57-0569-c0d6-3f0ad517a300.html
点击查看题目
8.关于MySQL中存储函数和存储过程的区别,不正确的是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-4f15-c0d6-3f0ad517a300.html
点击查看题目
69.在使用INSERT INTO插入记录时,对于AUTO(INCREMENT列,若需要使其值自动增长,则不能为其指定任何有效的取值。那么,下面填充方式中错误的是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-ce96-c0d6-3f0ad517a300.html
点击查看题目
24.为字段设定默认值,需要使用的关键字是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-7081-c0d6-3f0ad517a300.html
点击查看题目
53.部门表tb(dept的定义如下: A.CREATE TABLE tb_dept( B.deptno CHAR(2) primary key, deptname CHAR(20) not null, manager CHAR(12), telephone CHAR(15) ); 下列说法中正确的是()。
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-abd7-c0d6-3f0ad517a300.html
点击查看题目
61.下列INSERT语句中,没有指定表的字段名的语法是()
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-bce9-c0d6-3f0ad517a300.html
点击查看题目
3.在字段进行升序排列时,如果某条记录的字段值为NULL,则这条记录会在最后一条显示。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-a610-c0d6-3f0ad517a300.html
点击查看题目
58.使用SELECT * INTO OUIFILE语句备份数据库时,导出的是()。
https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-b627-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;

答案:C

南京铁道职业技术学院
相关题目
59.在MySQL5.5中,使用日志文件恢复数据的命令是()。

A. MYSQLBINLOG

B. MYSQLIMPORT

C. MYSQL

D. MYSQLDUMP

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-b8dd-c0d6-3f0ad517a300.html
点击查看答案
50.右连接返回的结果不一定包含右表中所有的数据。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb01-41e5-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
点击查看答案
8.关于MySQL中存储函数和存储过程的区别,不正确的是()

A. 存储过程可以有输出参数,而存储函数没有

B. 存储函数必须使用RETURN语句返回结果

C. 调用存储函数无需使用CALL语句

D. 存储函数中不能像存储过程那样定义局部变量

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-4f15-c0d6-3f0ad517a300.html
点击查看答案
69.在使用INSERT INTO插入记录时,对于AUTO(INCREMENT列,若需要使其值自动增长,则不能为其指定任何有效的取值。那么,下面填充方式中错误的是()

A. 填充NULL值

B. 不显式地填充值

C. 填充数字0

D. 填充数字1

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-ce96-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
点击查看答案
53.部门表tb(dept的定义如下: A.CREATE TABLE tb_dept( B.deptno CHAR(2) primary key, deptname CHAR(20) not null, manager CHAR(12), telephone CHAR(15) ); 下列说法中正确的是()。

A. deptno的取值不允许为空,不允许重复

B. deptname的取值允许为空,不允许重复

C. deptno的取值允许为空,不允许重复

D. deptname的取值不允许为空,不允许重复

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-abd7-c0d6-3f0ad517a300.html
点击查看答案
61.下列INSERT语句中,没有指定表的字段名的语法是()

A. INSERT INTO 表名(字段名1,字段名2,……) VALUES(值1,值2,……);

B. INSERT INTO 表名VALUES(值1,值2,……);

C. INSERT表名(字段名1,字段名2,……) VALUES(值1,值2,……);

D. INSERT INTO 表名(字段名1,字段名2,……) VALUE(值1,值2,……);

https://www.shititong.cn/cha-kan/shiti/0000bb55-2a56-bce9-c0d6-3f0ad517a300.html
点击查看答案
3.在字段进行升序排列时,如果某条记录的字段值为NULL,则这条记录会在最后一条显示。
https://www.shititong.cn/cha-kan/shiti/0000b54b-eb00-a610-c0d6-3f0ad517a300.html
点击查看答案
58.使用SELECT * INTO OUIFILE语句备份数据库时,导出的是()。

A. 数据表中的数据

B. 数据表的结构

C. 数据表的结构和数据

D. 整个数据库

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