首页 > 其他 > 详细

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第3题

时间:2019-10-15 10:54:51      阅读:80      评论:0      收藏:0      [点我收藏+]
choose two

The CUSTOMERS table has a CUST_CREDT_LIMIT column of date type number.

Which two queries execute successtully?

A) SELECT TO_CHAR(NVL(cust_credit_limit * .15,‘Not Available‘)) FROM customers;

B) SELECT NVL2(cust_credit_limit * .15,‘Not AvailabIe‘) FROM customers;

C) SELECT NVL(cust_credit_limit * .15, ‘Not Available‘) FROM customers;

D) SLECT NVL(TO_CHAR(cust_credit_limit * .15),‘Not available‘) from customers;

E) SELECT NVL2(cust_credit_limit,TO_CHAR(cust_credit_limit * .15),‘NOT Available‘) FROM customers;

Answer:DE

(解析:注意 nvl 返回的数据类型要与原来列的数据类型一致。此题库以前出现过。)

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第3题

原文:https://blog.51cto.com/13854012/2442467

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!