exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 113 discussion

Actual exam question from Oracle's 1z0-071
Question #: 113
Topic #: 1
[All 1z0-071 Questions]

The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8,2).

Evaluate this SQL statement:

SELECT TO_CHAR(unit_price, '$9,999') FROM product_information;

Which two statements are true about the output? (Choose two.)

  • A. A row whose UNIT_PRICE column contains the value 10235.95 will be displayed as $1,0236.
  • B. A row whose UNIT_PRICE column contains the value 1023.95 will be displayed as $1,024.
  • C. A row whose UNIT_PRICE column contains the value 10235.95 will be displayed as $1,023.
  • D. A row whose UNIT_PRICE column contains the value 10235.95 will be displayed as #######.
  • E. A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,023.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
yaya32
1 year ago
Selected Answer: BD
BD is correct
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: BD
BD is the correct answer
upvoted 1 times
...
ESZ
1 year, 9 months ago
Not sure why D is correct. Could someone explain please. Thanks
upvoted 1 times
MooonLight
1 year, 8 months ago
You have to change the format to '$99,999'
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...