奥鹏教育吉大《数据库应用技术》在线作业一

奥鹏教育吉林大学在线作业

吉大18春学期《数据库应用技术》在线作业一-0005

设有两个事务T1,T2,其并发操作如下所示:
T1: T2:
1) 读A=10,B=5
2) 读A=10
3) 读A=20,B=5
求和25 验证错
正确的评价是哪个?
A:该操作不存在问题
B:该操作丢失修改
C:该操作不能重复读
D:该操作读“脏”数据
答案问询微信:424329

如果用户在SQL语句中没有指定数据库对象的SCHEMA,则其缺省的SCHEMA是:
A:SYSIBM
B:SYSCAT
C:SYSSTAT
D:该用户连接到数据库时所使用的用户名
E:以上都不对
答案问询微信:424329

如果选用循环日志方式,辅助日志文件何时分配?
A:数据库建立的时候
B:数据库服务器启动的时候
C:需要的时候
D:以上都不对
答案问询微信:424329

要更改数据库管理器配置文件,需以下哪个数据库权限?
A:DBADM
B:SYSMAINT
C:SYSCTRL
D:SYSADM
答案问询微信:424329

Given the code:
EXEC SQL WITH most_cities AS
(
SELECT b.id, b.name, a.cities
FROM country a, staff b
WHERE a.person = b.id AND
cities :threshold
)
SELECT id, name, cities FROM most_cities
INTO :id, :name, :cities
WHERE cities IN (SELECT MAX(cities) FROM most_cities)
Which of the following can referenc奥鹏教育吉林大学在线作业e MOST_CITIES?
A:The current statement
B:Statements from any application
C:All statements within this application
D:All statements within the current unit of work
答案问询微信:424329

Given an ODBC/CLI program with a single connection, two threads and the following actions which complete successfully:
Thread 1: INSERT INTO mytab VALUES (1)
Thread 2: INSERT INTO mytab VALUES (2)
Thread 1: COMMIT
Thread 2: INSERT INTO mytab VALUES (3)
Thread 1: ROLLBACK
Thread 2: COMMIT
How many records will be inserted and retained in the table MYTAB?
A:0
B:1
C:2
D:3
答案问询微信:424329

两个子查询的结果(),可以执行并、交、差操作
A:结构完全一致
B:结构完全不一致
C:结构部分一致
D:主键一致
答案问询微信:424329

An ODBC/CLI application has the following pseudocode:
SQLAllocHandle( SQL_HANDLE_DBC, hEnv,
INSERT INTO tab1(c2) VALUES (‘345’);
如果在命令行处理器(CLP)中执行以下语句,以下哪个结果是正确的?
SELECT * FROM tab1;
A:C1 C2
— ———–
0 record(s) selected.
B:C1 C2
— ———–
123 345
1 record(s) selected.
C:C1 C2
— ———–
345
1 record(s) selected.
D:C1 C2
— ———–
– 345
1 record(s) selected.
答案问询微信:424329

Which of the following is a benefit of user-defined functions?
A:Improves application concurrency
B:Improves blocking of result sets
C:Simplifies application maintenance
D:Reduces memory requirements on the server
答案问询微信:424329

Given the expression:
WITH most_cities AS
(
SELECT b.id,b.name,a.cities
FROM country a, staff b
WHERE a.person = b.id AND
cities :threshold
)
SELECT * FROM most_cities
In which of the following does MOST_CITIES exist?
A:user tables
B:server memory
C:user table space
D:system catalog tables
答案问询微信:424329

向基本表增加一个新列后,原有元组在该列上的值为什么?
A:TRUE
B:FALSE
C:空值
D:不确定
答案问询微信:424329

提供优质的教育资源

公众号: 超前自学网