Which statement will compute the total annual compensation for each employee?

Examine the data in the EMPLOYEES table.

Which statement will compute the total annual compensation for each employee?
A. SELECT last_name, (monthly_salary * 12) + (monthly_salary * 12 * monthly_commission_pct) AS annual_comp
FROM employees;
B. SELECT last_name, (monthly_salary + monthly_commission_pct) * 12 AS annual_comp FROM employees;
C. SELECT last_name, (monthly_salary * 12) + (monthly_commission_pct * 12) AS annual_comp FROM employees;
D. SELECT last_name, (monthly_salary * 12) + (monthly_salary * 12 * NVL (monthly_commission_pct, 0)) AS annual_comp
FROM employees;

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “Which statement will compute the total annual compensation for each employee?

  1. Correct answer is D because any arithmetic operation with NULL will NULL which is unknown and so it recommended to use NVL functions

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.