nerdexam
Oracle

1Z0-047 · Question #88

View the Exhibit and examine the description of the EMPLOYEES table. Your company wants to give 5% bonus to all the employees on their annual salary. The SALARY column stores the monthly salary for…

The correct answer is A. It would execute and give you the desired output. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the description of the EMPLOYEES table. Your company wants to give 5% bonus to all the employees on their annual salary. The SALARY column stores the monthly salary for an employee. To check the total for annual salary and bonus amount for each employee, you issued the following SQL statement:

SELECT first_name, salary, salary*!2+salary12.05 "ANNUAL SALARY + BONUS" FROM employees; Which statement is true regarding the above query?

Exhibit

1Z0-047 question #88 exhibit

Options

  • AIt would execute and give you the desired output.
  • BIt would not execute because the AS keyword is missing between the column name and the alias.
  • CIt would not execute because double quotation marks are used instead of single quotation marks for
  • DIt would execute but the result for the third column would be inaccurate because the parentheses for

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    8% (2)
  • C
    15% (4)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice