OCP 1Z0 051 QUESTION NO: 47
来源:互联网 发布:12123但确实无数据返回 编辑:程序博客网 时间:2024/06/14 04:12
QUESTION NO: 47
Which three are true? (Choose three.)
A. A MERGE statement is used to merge the data of one table with data from another.
B. A MERGE statement replaces the data of one table with that of another.
C. A MERGE statement can be used to insert new rows into a table.
D. A MERGE statement can be used to update existing rows in a table.
报错
见文档
http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_9016.htm#SQLRF55141
中示例语句
把另一个表中的数据更新、插入至目标表。同时可以删除目标表指定范围的的数据
Answer: A,C,D
Which three are true? (Choose three.)
A. A MERGE statement is used to merge the data of one table with data from another.
B. A MERGE statement replaces the data of one table with that of another.
C. A MERGE statement can be used to insert new rows into a table.
D. A MERGE statement can be used to update existing rows in a table.
英 [mɜːdʒ] 美 [mɝdʒ] 口语练习 跟读
报错- vt. 合并;使合并;吞没
- vi. 合并;融合
- n. (Merge)人名;(意)梅尔杰
见文档
http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_9016.htm#SQLRF55141
中示例语句
MERGE INTO bonuses D USING (SELECT employee_id, salary, department_id FROM employees WHERE department_id = 80) S ON (D.employee_id = S.employee_id) WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01 DELETE WHERE (S.salary > 8000) WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus) VALUES (S.employee_id, S.salary*.01) WHERE (S.salary <= 8000);merge可以同时执行update、insert、delete动作
把另一个表中的数据更新、插入至目标表。同时可以删除目标表指定范围的的数据
Answer: A,C,D
0 0
- OCP 1Z0 051 QUESTION NO: 47
- OCP 1Z0 051 QUESTION NO: 1
- OCP 1Z0 051 QUESTION NO: 2
- OCP 1Z0 051 QUESTION NO: 3
- OCP 1Z0 051 QUESTION NO: 4
- OCP 1Z0 051 QUESTION NO: 5
- OCP 1Z0 051 QUESTION NO: 6
- OCP 1Z0 051 QUESTION NO: 7
- OCP 1Z0 051 QUESTION NO: 8
- OCP 1Z0 051 QUESTION NO: 9
- OCP 1Z0 051 QUESTION NO: 10
- OCP 1Z0 051 QUESTION NO: 11
- OCP 1Z0 051 QUESTION NO: 12
- OCP 1Z0 051 QUESTION NO: 13
- OCP 1Z0 051 QUESTION NO: 14
- OCP 1Z0 051 QUESTION NO: 15
- OCP 1Z0 051 QUESTION NO: 16
- OCP 1Z0 051 QUESTION NO: 17
- 伪元素::after和::before
- Android 中Touch(触屏)事件传递机制
- Maven入门(手动创建项目)(1)
- C语言数据类型总结,预处理指令,typedef,static&extern,递归笔记
- 一年之感受
- OCP 1Z0 051 QUESTION NO: 47
- C++ 长方体继承自矩形
- MFC----窗口的重绘
- Vold工作流程分析学习
- 微信网页支持
- 用sqoop实现mysql和hive数据互导
- win7 java 环境配置
- 利用Session完成用户的登录和注销
- 媒体层图形技术之AssetsLibrary 学习笔记