exp_014.htm

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

HTM
46
字号
<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><b><span style="font-size:22pt">Explaination 014: &nbsp;</span></b></p>

<span style="font-size:18pt">
	<p>
	The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all employees who earn less than the maximum salary in their department. This query is example of an inline view which is the sub-query in the FROM clause of the main query. The sub-query can be a SELECT statement that utilizes joins, the GROUP BY clause, or the ORDER BY clause. <br>
	</p>

	<p>
	  Incorrect Answers <br>
	</p>

	<p>
	  A: The statement does not produce an error at line 1. <br>
	</p>

	<p>
	  B: The statement does not produce an error at line 3. <br>
	</p>

	<p>
	  C: The statement does not produce an error at line 6. <br>
	</p>

	<p>
	  D: The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all EMPLOYEES, NOT DEPARTMENTS, who earn less than the maximum salary in their department. <br>
	</p>

	<p>
	  OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 161-165 <br>
	</p>

	<p>
	  Chapter 4: Subqueries
	</p>

</span>

</body>
</html>
<br>

⌨️ 快捷键说明

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