ocp007题库解析(二)

2014-11-24 09:18:48 · 作者: · 浏览: 1
MMIT语句,然后执行DDL操作,最后再发出一个COMMIT操作。

Q: 5 eva luate this SQL statement:
SELECT ename, sal, 12*sal+100
FROM emp;
The SAL column stores the monthly salary of the employee. Which change must be made to the above syntax to calculate the annual compensation as "monthly salary plus a monthly bonus of $100, multiplied by 12"
A. No change is required to achieve the desired results.
B. SELECT ename, sal, 12*(sal+100) FROM emp;
C. SELECT ename, sal, (12*sal)+100 FROM emp;
D. SELECT ename, sal+100,*12 FROM emp;
解析:
正确答案: B
纯粹英语数学题,跟oralce没关系。
作者“成长足迹”