ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-54

OCP 1Z0-051-54

原创 Oracle 作者:LuiseDalian 时间:2014-05-14 07:04:40 0 删除 编辑
(54)View the Exhibit and examine the structure of the CUSTOMERS table. Evaluate the query statement:

SELECT cust_last_name, cust_city, cust_credit_limit

FROM customers

WHERE cust_last_name BETWEEN 'A' AND 'C'

AND cust_credit_limit BETWEEN 1000 AND 3000;

What would be the outcome of the above statement?


A. It executes successfully.

B. It produces an error because the condition on CUST_LAST_NAME is invalid.

C. It executes successfully only if the CUST_CREDIT_LIMIT column does not contain any null values.

D. It produces an error because the AND operator cannot be used to combine multiple BETWEEN clauses.

答案:(A)

解析:

可以执行,但结果可能与希望的不一样

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1160684/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: OCP 1Z0-051-57
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6042350