Oracle
1Z0-071 · Question #238
Examine the structure and data in the PRICE_LIST table: You plan to give a discount of 25% on the product price and need to display the discount amount in the same format as the PROD_PRICE. Which…
The correct answer is C. SELECT TO_CHAR (TO_NUMBER(prod_price, `$99,999.99') * . 25, `$99,999.00') FROM. See the full explanation below for the reasoning.
Question
Examine the structure and data in the PRICE_LIST table:
You plan to give a discount of 25% on the product price and need to display the discount amount in the same format as the PROD_PRICE. Which SQL statement would give the required result?
Exhibit
Options
- ASELECT TO_CHAR (prod_price* .25, `$99,999.99')
- BSELECT TO_CHAR (TO_NUMBER(prod_price) * .25, `$99,999.00') FROM PRICE_LIST
- CSELECT TO_CHAR (TO_NUMBER(prod_price,
$99,999.99') * . 25,$99,999.00') FROM - DSELECT TO_NUMBER (TO_NUMBER(prod_price,
$99,999.99') * . 25,$99,999.00') FROM
How the community answered
(26 responses)- A4% (1)
- B4% (1)
- C85% (22)
- D8% (2)
Community Discussion
No community discussion yet for this question.
