1 / 7
文档名称:

数据库系统概论(3-4章).doc

格式:doc   大小:402KB   页数:7
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

数据库系统概论(3-4章).doc

上传人:mh900965 2017/11/18 文件大小:402 KB

下载得到文件列表

数据库系统概论(3-4章).doc

文档介绍

文档介绍:单选题
()语句实现的。
A CREATE
B REVOKE
C GRANT
D INSERT
正确答案:C
()语句实现的。
A CREATE
B REVOKE
C GRANT
D INSERT
正确答案:B
,属于DDL语言的是()。
A SELECT
B CREATE
C GRANT
D DELETE
正确答案:B
,创建一个表,应该使用下面哪个语句?
A CREATE TABLE
B CREATE INDEX
C CREATE VIEW
D CREATE DATABASE
正确答案:A
,删除一个表,应该使用下面哪个语句?
A DELETE TABLE
B DROP TABLE
C DELETE VIEW
D DROP DATABASE
正确答案:B
,修改表的数据结构,下面哪种语句适用?
A UPDATE
B ALTER
C CHANGE
D SHIFT
正确答案:B
,创建一个视图,应该使用下面哪个语句?
A CREATE TABLE
B CREATE INDEX
C CREATE VIEW
D CREATE DATABASE
正确答案:C
,删除一个表中的记录,下面哪个语句适用?
A DROP TABLE
B DROP
C DELETE
D ERASE
正确答案:C
,下面哪句语句能够找出年龄最小的同学?其中age为学生表student中的年龄字段,sno为学生的学号。
A select max(age) from student
B select sno from student where age = max(age)
C select sno from student having age = max(age)
D select sno from student a where <= (select min() from student b)
正确答案:D
,要创建唯一索引该使用下面哪种语句?
A CREATE UNIQUE INDEX
B CREATE CLUSTER INDEX
C CREATE ONLY INDEX
D CREATE PRIMARY INDEX
正确答案:A
,要修改表student中所有学生的年龄age,使之在原值基础上减一,下面哪个语句适用?
A update student set age = 1
B update student set age = age - 1
C update age = age -1 from student
D update from student where age = age -1
正确答案:B
,要删除表student中所有数据,但不将表student的定义一起删除,下面