OCP 071中文考试题库(cuug内部资料)第57题
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询本套题库是OCP考试中的071(中文版)试题,由CUUG整理,如有报考OCP认证意向,可以联系cuug咨询老师。
57、请选择最佳答案。
查看CUSTOMERS表的说明:
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
对于收入水平有值的客户, 您希望显示客户名字和到期金额(值为信用额度的5%)。不显示到期金额为null 的客户。
应使用哪个查询?
A) 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; .
B) SELECT cust_first_name, cust_credit_limit * .05 AS due_amount
FROM customers
WHERE cust_income_level != NULL
AND due_amount != NULL;
C) 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;
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 cust_credit_level != NULL;
整理:cuug