choose twoide
The CUSTOMERS table has a CUST_CREDT_LIMIT column of date type number.it
Which two queries execute successtully?table
A) SELECT TO_CHAR(NVL(cust_credit_limit * .15,'Not Available')) FROM customers;class
B) SELECT NVL2(cust_credit_limit * .15,'Not AvailabIe') FROM customers;date
C) SELECT NVL(cust_credit_limit * .15, 'Not Available') FROM customers;數據類型
D) SLECT NVL(TO_CHAR(cust_credit_limit * .15),'Not available') from customers;im
E) SELECT NVL2(cust_credit_limit,TO_CHAR(cust_credit_limit * .15),'NOT Available') FROM customers;數據
Answer:DEtab
(解析:注意 nvl 返回的數據類型要與原來列的數據類型一致。此題庫之前出現過。)di