📄 que_093.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 092 </b>
</p><hr color="#99CCFF">
<table border="1" bordercolor="gray">
<tr>
<td align="left" width="486" bgcolor="#99CCFF">
<p><b>The EMPLOYEES table </b></p>
</td>
</tr>
<tr>
<td align="left" bgcolor="white">
<p><b>LAST_NAME VARCHAR2 (25) </b></p>
</td>
</tr>
<tr>
<td align="left" bgcolor="white">
<p><b>SALARY NUMBER (6,2) </b></p>
</td>
</tr>
<tr>
<td align="left" bgcolor="white">
<p><b>COMMISSION_PCT NUMBER (6) </b></p>
</td>
</tr>
</table>
<p>You need to write a query that will produce these results: <br>
1. Display the salary multiplied by the commission_pct.
<br>2. Exclude employees with a zero commission_pct.
<br>3. Display a zero for employees with a null commission value.<br>
Evaluate the SQL statement:
<br><br>SELECT LAST_NAME, SALARY*COMMISSION_PCT
<br>FROM EMPLOYEES
<br>WHERE COMMISSION_PCT IS NOT NULL;
<br><br>What does the statement provide</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> All of 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> Two of the desired results
</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> One of the desired results
</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 statement</p>
</td>
</tr>
</span>
</form>
</table>
<br></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -