其他分享
首页 > 其他分享> > 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第3题

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

作者:互联网

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 返回的数据类型要与原来列的数据类型一致。此题库以前出现过。)

标签:customers,15,cust,071,credit,limit,SELECT,版本,考试
来源: https://blog.51cto.com/13854012/2442467