⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 que_008.htm

📁 oracle DBA的资料
💻 HTM
字号:
<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 008	</b>
</p><hr color="#99CCFF">

<p>Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns:</p><table border="1" bordercolor="gray">
	<tr>
		<td align="left" width="486" bgcolor="#99CCFF">
			<p><b>The  EMP  table  contains  these  columns:  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>LAST  NAME  VARCNAR2(35)  NOT  NULL  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>SALARY  NUMBER(9,2)  NOT  NULL  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>COMMISION_PCT  NUMBER(4,2)  </b></p>
		</td>
	</tr>
</table>
<p>Which statement ensures that a value is displayed in the calculated columns for all 
employees?</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> SELECT last_name, 12*salary* commission_pct <br>
			  FROM emp; 
			</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 last_name, 12*salary* (commission_pct,0) <br>
			  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 last_name, 12*salary*(nvl(commission_pct,0)) <br>
			  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 last_name, 12*salary*(decode(commission_pct,0)) <br>
			  FROM emp;</b></p>
		</td>
	</tr>
	</span>
	</form>
</table>

</body>
</html>
<br>

⌨️ 快捷键说明

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