📄 exp_042.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 042: </span></b></p>
<span style="font-size:18pt">
<p>
This task can be done using the MERGE command. Correct syntax for the MERGE command is MERGE INTO table1 USING table2 on (join_condition) WHEN MATCHED UPDATE SET col1 = value WHEN NOT MATCHED INSERT (column_list) values (column_values). <br>
</p>
<p>
Incorrect Answers <br>
</p>
<p>
A: MERGE command can handle this task, not UPDATE: new employee details will not be added to the table <br>
</p>
<p>
C: This statement would by correct if UPDATE SET is syntax used, not UPDATE table_name SET syntax as in usual UPDATE command. <br>
</p>
<p>
D: "ON condition" clause of the MERGE command is absent. <br>
</p>
<p>
OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 273-275 <br>
</p>
<p>
Chapter 6: Manipulating Oracle Data
</p>
</span>
</body>
</html>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -