📄 exp_022.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 022: </span></b></p>
<span style="font-size:18pt">
<p>
Result will be 0. MOD(x,y) function calculates the modulus of x, defined in long division as the integer remainder when x is divided by y until no further whole number can be produced. TRUNC() function truncates x to the decimal precision of y. ROUND(x,y) rounds x to the decimal precision of y. <br>
</p>
<p>
Incorrect Answers <br>
</p>
<p>
B: Result will be 0, not 1. <br>
</p>
<p>
C: Result will be 0, not 0.00 because MOD(1600,10) return 0 and all other functions (TRUNC and ROUND) return 0 also. <br>
</p>
<p>
D: There is no error in this statement. <br>
</p>
<p>
OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 69-71 <br>
</p>
<p>
Chapter 2: Limiting, Sorting, and Manipulating Return Data
</p>
</span>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -