nerdexam
Oracle

1Z0-007 · Question #86

Evaluate the SQL statement: SELECT LPAD (salary,10,'*') FROM EMP WHERE EMP_ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?

The correct answer is D. **17000.00. See the full explanation below for the reasoning.

Question

Evaluate the SQL statement:

SELECT LPAD (salary,10,'*') FROM EMP WHERE EMP_ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?

Options

  • A17000.00
  • B17000*****
  • C****170.00
  • D**17000.00
  • Ean error statement

How the community answered

(23 responses)
  • A
    9% (2)
  • C
    13% (3)
  • D
    74% (17)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-007 Practice