码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-03-05 12:50:56      阅读:500      评论:0      收藏:0      [点我收藏+]

标签:about   12c   逻辑操作   sel   逻辑   where   details   rac   utc   

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题)

标签:about   12c   逻辑操作   sel   逻辑   where   details   rac   utc   

原文地址:https://blog.51cto.com/13854012/2358214

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!