nerdexam
Oracle

1Z0-071 · Question #226

1Z0-071 Question #226: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-071 to reveal the answer and full explanation for question #226. The question stem and answer options stay visible for context.

Question

Examine the structure and data in the PRICE_LIST table: name Null Type ------ --------- ------- PROD_ID NOT NULL NUMBER(3) PROD_PRICE VARCHAR2(10) PROD_ID PROD_PRICE ---------- ------------ 100 $234.55 101 $6,509.75 102 $1,234 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?

Options

  • ASELECT TO_CHAR(prod_price* .25,'$99,999.99') FROM PRICEJJST;
  • BSELECT TO_CHAR(TO_NUMBER(prod_price)* .25,'$99,999.00') FROM PRICEJLIST;
  • CSELECT TO_CHAR(TO_NUMBER(prod_price,'$99,999.99')* .25,'$99,999.00') FROM PRICEJLIST;
  • DSELECT TO_NUMBER(TO_NUMBER(prod_price,'$99,999.99')* .25,'$99,999.00') FROM

Unlock 1Z0-071 to see the answer

You've previewed enough free 1Z0-071 questions. Unlock 1Z0-071 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-071 Practice