nerdexam
Oracle

1Z0-144 · Question #10

View the Exhibit and examine the structure of the employees table. Execute the following block of code: What is the outcome?

The correct answer is C. It executes successfully and incorrectly gives the result of the sum of salaries in department 60. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of the employees table. Execute the following block of code:

What is the outcome?

Exhibits

1Z0-144 question #10 exhibit 1
1Z0-144 question #10 exhibit 2

Options

  • AIt gives an error because group functions cannot be used in anonymous blocks
  • BIt executes successfully and correctly gives the result of the sum of salaries in department 60.
  • CIt executes successfully and incorrectly gives the result of the sum of salaries in department 60.
  • DIt gives an error because the variable name and column name are the same in the where clause

How the community answered

(39 responses)
  • A
    15% (6)
  • B
    8% (3)
  • C
    74% (29)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-144 Practice