📄 que_060.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 060
</b></p><hr color="#99CCFF">
<p>Examine the data from the EMP table: </p><table border="1" bordercolor="gray">
<span style="font-size:18pt;">
<tr>
<td align="center" bgcolor="#99CCFF">
<p><b>EMP_ID</b></p></b>
</td>
<td align="center" bgcolor="#99CCFF">
<p><b>DEPT_ID</b></p></b>
</td>
<td align="center" bgcolor="#99CCFF">
<p><b>COMMISSION</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>1</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>10</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>500</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>2</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>20</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>1000</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>3</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>10</b></p></b>
</td>
<td></td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>4</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>10</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>600</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>5</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>30</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>800</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>6</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>30</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>200</b></p></b>
</td>
</tr>
<tr>
<td align="center" bgcolor="white">
<p><b>7</b></p></b>
</td>
<td align="center" bgcolor="white">
<p><b>10</b></p></b>
</td>
<td></td>
</tr>
</span>
</table>
<p>The COMMISSION column shows the monthly commission earned by the employee.
Which three tasks would require subqueries or joins in order to perform in a single step? (Choose three) </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> Deleting the records of employees who do not earn commission.
</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> Increasing the commission of employee 3 by the average commission earned in department 20.
</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> Finding the number of employees who do NOT earn commission and are working for department 20.
</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> Inserting into the table a new employee 10 who works for department 20 and earns a commission that is equal to the commission earned by employee 3.
</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> Creating a table called COMMISSION that has the same structure and data as the
columns EMP_ID and COMMISSIONS of the EMP 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> Decreasing the commission by 150 for the employees who are working in department 30 and earning a commission of more then 800.</p>
</td>
</tr>
</span>
</form>
</table>
<br></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -