移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

计算机考试 | IBM认证考试

模式切换

0 0 0
我的错题 我的收藏 学习笔记

章节目录

单选题 Given the following function: CREATE FUNCTION emplist ( ) RETURNS TABLE ( id CHAR(6) , firstname VARCHAR(12) , lastname VARCHAR(15) ) LANGUAGE SQL BEGIN ATOMIC RETURN SELECT EMPNO, FIRSTNME, LASTNAME FROM EMPLOYEE WHERE WORKDEPT IN ('A00', 'B00'); END How can this function be used in an SQL statement?

A

SELECT TABLE(EMPLIST()) FROM EMPLOYEE

B

SELECT TABLE(EMPLIST()) AS t FROM EMPLOYEE

C

SELECT EMPLIST(id, firstname, lastname) FROM EMPLOYEE

D

SELECT id, firstname, lastname FROM TABLE(EMPLIST()) AS t

单选题 Which of the following will begin a new unit of work?()

A

The CONNECT statement

B

The first FETCH of a cursor

C

The BEGIN TRANSACTION statement

D

The first executable SQL statement

单选题 Which of the following tools can be used to schedule a backup operation that is to be run every Sunday evening?()

A

Journal

B

Task Center

C

Activity Monitor

D

Command Line Processor

单选题 Which of the following commands is used to retrieve database names from the local catalog for DRDA host databases on System i and System z?()

A

LIST DB DIRECTORY

B

LIST DCS DIRECTORY

C

LIST NODE DIRECTORY

D

LIST ACTIVE DATABASES

单选题 If DB2 detects a deadlock between application A and application B (each waiting for a lock held by the other one), what action will DB2 take?()

A

Rollback the transaction in both applications.

B

Rollback the transaction in one of the two applications.

C

Decrease the lock timeout value for both applications, thereby causing a lock timeout situation.

D

Send a message to let the administrator know of the situation and decide which application or applications should be terminated.

单选题 Which of the following SQL statements will return the year and average salary for all employees hired within a given year that have a salary greater than $30,000?()

A

SELECT * FROM t1 UNION SELECT * FROM t2

B

SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2

C

SELECT * FROM t1 INTERSECT SELECT * FROM t2

D

SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)

1 2 3 4 5 下一页 尾页 /

到第