码迷,mamicode.com
首页 > 其他好文 > 详细

【OCP题库】最新CUUG OCP 12c 071考试题库(67题)

时间:2019-03-07 11:40:00      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:column   eva   like   because   query   success   mit   ble   验证   

67、(25-8)choose the best answer:

View the Exhibit and examine the structure of CUSTOMERS table.

Evaluate the following query:

SQL>SELECT cust_id, cust_city

FROM customers

WHERE cust_firstname NOT LIKE ‘A%g_%‘ AND

cust_credit_limit BETWEEN 5000 AND 15000 AND

cust_credit_limit NOT IN (7000, 11000) AND

cust_city NOT BETWEEN ‘A‘ AND ‘B‘;

Which statement is true regarding the above query?

A) It executes successfully.

B) It produces an error because the condition on the CUST_FIRST_NAME column is not valid.

C) It produces an error because conditions on the GUST_CREDIT_LIMIT column are not valid.

D) It produces an error because the condition on the CUST_CITY column is not valid.

Answer:A

(解析:考语法,验证 not like 、between and、not in、not between and 的混合使用)

【OCP题库】最新CUUG OCP 12c 071考试题库(67题)

标签:column   eva   like   because   query   success   mit   ble   验证   

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

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