que_055.htm

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

HTM
59
字号
<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 055	
</b></p><hr color="#99CCFF">

<p>Evaluate this SQL statement:</p><p>SELECT e.employee_id, (.15* e.salary) + (.5 * e.commission_pct) 
+<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(s.sales amount * (.35 * e.bonus)) AS CALC_VALUE 
<br>FROM employees e, sales s <br>
WHERE e.employee_id = s.emp_id; <br>
<br>What will happen if you remove all the parentheses from the calculation?</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> The value displayed in the CALC_VALUE column will be lower. 
			</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>   The value displayed in the CALC_VALUE column will be higher. 
			</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>   There will be no difference in the value displayed in the CALC_VALUE column. 
			</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>   An error will be reported.</p>
		</td>
	</tr>
	</span>
	</form>
</table>

<br></body>
</html>

⌨️ 快捷键说明

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