exam questions

Exam 1z0-144 All Questions

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

Exam 1z0-144 topic 1 question 17 discussion

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

View the Exhibit and examine the structure of the employees table.

Examine the following block of code:

What is the outcome when the above code is executed?

  • A. It executes successfully.
  • B. It gives an error because decode cannot be used in a PL/SQL block.
  • C. It gives an error because the AVG function cannot be used in a PL/SQL block
  • D. It gives an error because the MONTHS_BETWEEN function cannot be used in a PL/SQL block.
  • E. It gives an error because both the AVG and decode functions cannot be used in a PL/SQL block.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
maabreh
2 years, 1 month ago
Selected Answer: A
a IS CORRECT
upvoted 1 times
...
Naveen_2022
2 years, 6 months ago
A is correct. Syntax-wise it will execute, During runtime it may fail due to lack of exception handling, incase value is not found.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago