QuestionQ51

VerifiedUsing Single-Row Functions to Customize Output

View the exhibit and examine the data in the EMPLOYEES table.

Question Image

You want to generate a report that shows the total compensation paid to each employee to date. You issue this query:

Question Image

What is the outcome?

Explanation

The statement executes, but employees whose COMM value is NULL receive a NULL compensation result because any arithmetic expression containing NULL evaluates to NULL. The nested ROUND calls are valid, and concatenation can combine more than two expressions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!