Oracle ocp 12c-071最新考试题库及答案-1

choose the best answer:

View the Exhibit and examine the structure of the CUSTOMERS table.

CUSTOMER_VU is a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERS table.

CUSTOMERS needs to be updated to reflect the latest information about the customers.

What is the error in the following MERGE statement?

MERGE INTO customers c
USING customer_vu cv
ON (c.customer_id = cv.customer_id)
WHEN MATCHED THEN
UPDATE SET
c.customer_id = cv.customer_id,
c.cust_name = cv.cust_name,
c.cust_email = cv.cust_email,
c.income_level = cv.income_level
WHEN NOT MATCHED THEN
INSERT VALUES(cv.customer_id,cv.cust_name,cv.cust_email,cv.income_level)
WHERE cv.income_level >100000;

A) The INTO clause is misplaced in the command.
B) The WHERE clause cannot be used with INSERT.
C) CUSTOMER_VU cannot be used as a data source.
D) The CUSTOMER_ID column cannot be updated

answer:D

原文地址:http://blog.51cto.com/13854012/2349467

时间: 2024-08-29 07:19:20

Oracle ocp 12c-071最新考试题库及答案-1的相关文章

OCP 12c最新考试题库及答案(071-2)

2.(4-7) choose the best answer:You need to display the first names of all customers from the CUSTOMERS table that contain thecharacter 'e' and have the character 'a' in the second last position.Which query would give the required output?A) SELECT cus

2018版OCP 11g 052最新考试题库整理(带答案)(23)

23.Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A) Its findings are accessible only by using Oracle Enterprise Manager. B) It improves database performance by automatically implementing Oracle's best practices. C) It c

2018版OCP 11g 052最新考试题库整理(带答案)(30)

30.Which four are true about the tools used to administer Oracle databases? A) SQL*Plus can be used to create databases. B) RMAN can be used to start up Oracle Instances. C) DBCA can be used to upgrade databases. D) The Data Pump utility can be used

2018版OCP 11g 052最新考试题库整理(带答案)(33)

33.You want to Install Oracle 11g database software and create a database on ASM Immediately after the Install. Your plan is to install both Oracle database and Grid Infrastructure. Which two are true in this scenario? A) Grid Infrastructure must be

2018版OCP 11g 052最新考试题库整理(带答案)(37)

37.You are planning a software installation for both Oracle Database 11g Release 1 and Release 2. You plan to have at lease one database for each release managed by Grid Infrastructure for a Standalone Server. Which three are true in this scenario? A

2018版OCP 11g 052最新考试题库整理(带答案)(48)

48.Which two are true about Oracle Data Pump in Oracle Database 11g Release 2? A. If the directory used in the export operation has existing dump files, it overwrites them. B. It allows encryption to be performed without using a password. C. It suppo

2018版OCP 11g 052最新考试题库整理(带答案)(53)

53.Which two are true about server-generated alerts? A. Stateful alerts must always be cleared manually. B. They are visible in Oracle Enterprise Manager by default. C. All stateful alerts can be found in DBA_ALERT_HISTORY. D. They can be based only

2018版OCP 11g 052最新考试题库整理(带答案)(57)

57.Which two statements are true about dispatchers used by the Oracle shared server? A. Multiple user processes can connect to a single dispatcher. B. They return completed requests to the appropriate user processes. C. A dispatcher is created for ea

2018版OCP 11g 052最新考试题库整理(带答案)(64)

64. Which three are true about Oracle database security? A. By default, SYSDBA connections have access to all schema objects. B. SYSDBA connections are always subject to mandatory auditing. C. By default, SYSOPER connections have access to the data d