📄 exp_007.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><b><span style="font-size:22pt">Explaination 007: </span></b></p>
<p>
<span style="font-size:18pt">This answer provides correct syntax and semantics to show the maximum salary paid in each job category of each department. <br>
</span></p>
<p>
<span style="font-size:18pt">Incorrect Answers <br>
</span></p>
<p>
<span style="font-size:18pt">A: This query will not return any row because condition SALARY > MAX(SALARY) is FALSE. <br>
</span></p>
<p>
<span style="font-size:18pt">C: This query will return error because you cannot show maximum salary with DEPT_ID and JOB_CAT without grouping by these columns. <br>
</span></p>
<p>
<span style="font-size:18pt">D: The GROUP BY clause is missing JOB_ID column. <br>
</span></p>
<p>
<span style="font-size:18pt">E: You don't need to group results of query by SALARY in the GROUP BY column. <br>
</span></p>
<p>
<span style="font-size:18pt">OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 356-365 <br>
</span></p>
<p>
<span style="font-size:18pt">Chapter 8: User Access Control in Oracle
</span></p>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -