DEVFYI - Developer Resource - FYI

What is the value of comm and sal after executing the following query if the initial value of ‘sal’ is 10000 UPDATE EMP SET SAL = SAL + 1000, COMM = SAL*0.1;?

PL/SQL Interview Questions and Answers


(Continued from previous question...)

What is the value of comm and sal after executing the following query if the initial value of ‘sal’ is 10000
UPDATE EMP SET SAL = SAL + 1000, COMM = SAL*0.1;?

sal = 11000, comm = 1000.

(Continued on next question...)

Other Interview Questions