Q117 The CUSTOMERS table has a CUST_CREDIT_LIMIT column of data type NUMBER.
Which two queries execute successfully? (Choose two.)
- (A). SELECT NVL(cust_credit_limit * .15, ‘Not Available’) FROM customers;
- (B). SELECT NVL2(cust_credit_limit * .15, ‘Not Available’) FROM customers;
- (C). SELECT NVL(TO_CHAR(cust_credit_limit * .15), ‘Not Available’) FROM customers;
- (D). SELECT TO_CHAR(NVL(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: C,E