【Oracle 12c】最新CUUG OCP-071考试题库(58题)

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)

上一篇:并不对劲的bzoj4817:loj2001:p3703:[SDOI2017]树点涂色


下一篇:【Oracle 12c】最新CUUG OCP-071考试题库(59题)