exp_004.htm

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

HTM
42
字号
<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 004: &nbsp;</span></b></p>

<span style="font-size:18pt">
	<p>
	These answers show correct syntax, because they use ANY and ALL keywords for convert multi-row output of sub-query to one-row result. <br>
	</p>

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

	<p>
	  A: This SELECT statement is incorrect because of multi-row return of sub-query: it will return minimal salary for EACH department. <br>
	</p>

	<p>
	  B: This SELECT statement is incorrect because of multi-row return of sub-query: it will return average salary for EACH department. <br>
	</p>

	<p>
	  F: This SELECT statement is incorrect because GROUP BY clause cannot contain functions,like AVG(), MIN(), MAX() and so on. <br>
	</p>

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

	<p>
	  Chapter 4: Subqueries
	</p>

</span>

</body>
</html>
<br>

⌨️ 快捷键说明

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