【2020年8月】OCP 071考试新题(-3题)CUUG内部题库

China☆狼群 提交于 2020-11-24 05:33:14

【2020年8月】OCP 071考试新题(-3题)CUUG内部题库

Choose the best answer.

Examine the description of the CUSTOMERS table:

Name                        Null?                      Type

-----------------------------------------------------------------------

CUST_ID                       NOT NULL       NUMBER

CUST_FIRST_NAME     NOT NULL       VARCHAR2 (20)

CUST_LAST_NAME       NOT NULL      VARCHAR2 (30)

CUST_INCOME_LEVEL                          VARCHAR2 (30)

CUST_CREDIT_LIMIT                             NUMBER

For customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.

Which query should be used?

A) SELECT cust_first_name, cust_credit_1imit * .05 AS due_amount

      FROM customers

      WHERE cust_income_level != NULL

      AND cust_credit_level != NULL;

B) SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

      FROM customers

      WHERE cust_income_level IS NOT NULL

      AND cust_credit_limit IS NOT NULL;

C) SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

      FROM customers

      WHERE cust_income_level Is NOT NULL

      AND due_amount IS NOT NULL; .

D) SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

      FROM customers

      WHERE cust_income_level != NULL

      AND due_amount != NULL;

E) SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

      FROM customers

      WHERE cust_income_level <> NULL

      AND due_amount <> NULL;

2020年8月份OCP 071考试新题(-3题)CUUG内部题库,钉钉群(35277291)Oracle金牌名师亲自题库解析

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!