查看附錄並檢查 EMPLOYEES 表的說明。您想計算每位員工的總薪酬。總薪酬是年薪和一年賺取的佣金百分比的總和。只有少數員工能賺取佣金。執行哪條 SQL 語句可以獲得所需的輸出結果?
A. ELECT first_name,salary,salary*12+(salary*NVL2(commission_pct,salary,salary+commission_pct))"Total"(總計) FROM EMPLOYEES;
B. ELECT first_name,salary,salary*12+salary*commission_pct "Total "FROM EMPLOYEES;
C. ELECT first_name, salary (salary + NVL (commission_pct, 0)*salary)*12 "Total "FROM EMPLOYEES;
D. ELECT first_name, salary*12 + NVL(salary,0)*commission_pct, "Total "FROM EMPLOYEES;