que_128.htm

来自「oracle DBA的资料」· HTM 代码 · 共 57 行

HTM
57
字号
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>Ocp test </title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p align="left" color="black" style="font-size:16pt;">
	<b>QUESTION 128	
</b></p><hr color="#99CCFF">

<p>Evaluate this SQL statement: 
<br><br>SELECT ename, sal, 12*sal+100 <br>FROM emp; 
<br><br>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 &quot;monthly salary plus a monthly bonus of $100, multiplied by 12&quot;? </p><table border="1" bordercolor="gray" width="665">
	<form name="youAnsForm">
	<span style="font-size:18pt;">
	<tr>
		<td align="center" width="89">
			<p><b><input type="radio" name="AN" value="A">  A.</b></p>
		</td>
		<td align="left" width="566">
			<p> No change is required to achieve the desired results. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="radio" name="AN" value="B">  B.</b></p>
		</td>
		<td align="left" width="566">
			<p>   SELECT ename, sal, 12*(sal+100) FROM emp; 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="radio" name="AN" value="C">  C.</b></p>
		</td>
		<td align="left" width="566">
			<p>   SELECT ename, sal, (12*sal)+100 FROM emp; 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="radio" name="AN" value="D">  D.</b></p>
		</td>
		<td align="left" width="566">
			<p>   SELECT ename, sal+100,*12 FROM emp;</p>
		</td>
	</tr>
	</span>
	</form>
</table>

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?