exp_002.htm
来自「oracle DBA的资料」· HTM 代码 · 共 42 行
HTM
42 行
<html>
<head>
<meta http-equiv="content-type" content="text/html">
<title>Ocp test </title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p><b><span style="font-size:22pt">Explaination 002: </span></b></p>
<p>
<span style="font-size:18pt">Since EMPLOYEE_ID column is used as primary key, it cannot be NULL, so only INSERT statements in C, E and F are correct. You can insert the row with NULL LAST_NAME as in answer C, or only the row with EMPLOYEE_ID as in answer E, or the row with empty LAST_NAME column. <br>
</span></p>
<p>
<span style="font-size:18pt">Incorrect Answers <br>
</span></p>
<p>
<span style="font-size:18pt">A: This answer is incorrect because a primary key cannot be NULL. <br>
</span></p>
<p>
<span style="font-size:18pt">B: INSERT statement does not contain primary key value at all, so this answer needs to be eliminated as correct one. <br>
</span></p>
<p>
<span style="font-size:18pt">D: This statement shows incorrect order of columns of row which needs to be inserted into the table. <br>
</span></p>
<p>
<span style="font-size:18pt">OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 260-267 <br>
</span></p>
<p>
<span style="font-size:18pt">Chapter 6: Manipulating Oracle Data
</span></p>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?