1. 程式人生 > >【Oracle 12c】最新CUUG OCP-071考試題庫(58題)

【Oracle 12c】最新CUUG OCP-071考試題庫(58題)

with 核心 actions sele members rst for truct select

58、(16-1) choose the best answer:

Examine the structure of the BOORSTRANSACTIONS table:

Examine the SQL statement:

SQL> SELECT FROM books_transactions WHERE borrowed_date

MEMBER_ID IN (‘A101‘, ‘A102‘);

Which statement is true about the outcome?

A) It displays details only for members who have borrowed before today with RM as TRANSACTION_TYPE.

B) It displays details for members who have borrowed before today‘s date with either RM as TRANSACTION_TYPE or MEMBER_ID as A101 and A102.

C) It displays details for members who have borrowed before today with RM as TRANSACTION_TYPE and the details for members A101 or A102.

D) It displays details for only members A101 and A102 who have borrowed before today with RM as TRANSACTION_TYPE.

Answer:C

(解析:該題的核心是考查大家對 and 與 or 兩個邏輯操作符同時存在時的優先級順序。其優先級順序依次是: 所有比較操作符、 NO 、 AND 、 OR)

【Oracle 12c】最新CUUG OCP-071考試題庫(58題)