nerdexam
Oracle

1Z0-061 · Question #269

View the Exhibit and examine the data in the EMPLOYEES table. You want to generate a report showing the total compensation paid to each employee to date. You issue the following query: What is the…

The correct answer is C. It executes successfully but does not give the correct output. ROUND(column|expression, n) Rounds the column, expression, or value to n decimal places or, if n is omitted, no decimal places (If n is negative, numbers to the left of decimal point are

Using Single-Row Functions to Customize Output

Question

View the Exhibit and examine the data in the EMPLOYEES table. You want to generate a report showing the total compensation paid to each employee to date. You issue the following query:

What is the outcome?

Exhibits

1Z0-061 question #269 exhibit 1
1Z0-061 question #269 exhibit 2

Options

  • AIt generates an error because the alias is not valid.
  • BIt executes successfully and gives the correct output.
  • CIt executes successfully but does not give the correct output.
  • DIt generates an error because the usage of the ROUND function in the expression is not valid.
  • EIt generates an error because the concatenation operator can be used to combine only two items.

How the community answered

(53 responses)
  • A
    2% (1)
  • B
    13% (7)
  • C
    74% (39)
  • D
    4% (2)
  • E
    8% (4)

Explanation

ROUND(column|expression, n) Rounds the column, expression, or value to n decimal places or, if n is omitted, no decimal places (If n is negative, numbers to the left of decimal point are

Topics

#ROUND function#column alias#arithmetic expressions#concatenation operator

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice