que_176.htm

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

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

Examine the structure of the EMPLOYEES table: </p><table border="1" bordercolor="gray">
	<tr>
		<td align="left" width="486" bgcolor="#99CCFF">
			<p><b>EMPLOYEES  table:  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>EMPLOYEE_ID  NUMBER  NOT  NULL,  Primary  Key  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>EMP_NAME  VARCHAR2(30)  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>JOB_ID  NUMBER\  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>SAL  NUMBER  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>MGR_ID  NUMBER  References  EMPLOYEE_ID  column  </b></p>
		</td>
	</tr>
	<tr>
		<td align="left" bgcolor="white">
			<p><b>DEPARTMENT_ID  NUMBER  Foreign  key  to  DEPARTMENT_ID  column  of  the  DEPARTMENTS  table  </b></p>
		</td>
	</tr>
</table>
<p>You created a sequence called EMP_ID_SEQ in order to populate sequential values for the EMPLOYEE_ID column of the EMPLOYEES table. 
Which two statements regarding the EMP_ID_SEQ sequence are true? (Choose two.) </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="checkbox" name="AN" value="A">  A.</b></p>
		</td>
		<td align="left" width="566">
			<p> You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="checkbox" name="AN" value="B">  B.</b></p>
		</td>
		<td align="left" width="566">
			<p>   The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="checkbox" name="AN" value="C">  C.</b></p>
		</td>
		<td align="left" width="566">
			<p>   The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="checkbox" name="AN" value="D">  D.</b></p>
		</td>
		<td align="left" width="566">
			<p>   Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="checkbox" name="AN" value="E">  E.</b></p>
		</td>
		<td align="left" width="566">
			<p>   The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table. 
			</p>
		</td>
	</tr>
	<tr>
		<td align="center" width="89">
			<p><b><input type="checkbox" name="AN" value="F">  F.</b></p>
		</td>
		<td align="left" width="566">
			<p>   The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.</b></p>
		</td>
	</tr>
	</span>
	</form>
</table>

</body>
</html>

⌨️ 快捷键说明

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