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

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

时间:2020-09-17 22:47:19      阅读:26      评论:0      收藏:0      [点我收藏+]

标签:com   pre   customers   ant   char   esc   limit   mount   arc   

【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金牌名师亲自题库解析

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

标签:com   pre   customers   ant   char   esc   limit   mount   arc   

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

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