exp_049.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 049: &nbsp;</span></b></p>

<span style="font-size:18pt">
	<p>
	Expression SYSDATE-HIRE_DATE will show number of days after date of hiring employee, so you need to divide result of expression on 365 and this compare result with 5. <br>
	</p>

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

	<p>
	  A: This query returns all employees who were hired more than 5 days ago. <br>
	</p>

	<p>
	  B: This query will not return any record because result of HIRE_DATE-SYSDATE expression will be negative number. <br>
	</p>

	<p>
	  D: You need to divide, not to multiply, SYSDATE-HIRE_DATE on the number of days in 1 year. <br>
	</p>

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

	<p>
	  Chapter 2: Limiting, Sorting, and Manipulating Return Data
	</p>

</span>

</body>
</html>
<br>

⌨️ 快捷键说明

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