Oracle
1Z0-144 · Question #40
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?
The correct answer is A. It executes successfully. See the full explanation below for the reasoning.
Question
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?
Exhibits
Options
- AIt executes successfully.
- BIt gives an error because decode cannot be used in a PL/SQL block.
- CIt gives an error because the AVG function cannot be used in a PL/SQL block
- DIt gives an error because the MONTHS_BETWEEN function cannot be used in a PL/SQL block.
- EIt gives an error because both the AVG and decode functions cannot be used in a PL/SQL block.
How the community answered
(27 responses)- A74% (20)
- B4% (1)
- D15% (4)
- E7% (2)
Community Discussion
No community discussion yet for this question.

