教学文章
Technology Exchange
热门课程
400电话

免费咨询热线
400-090-9964

教学文章

【2019年8月版本】Oracle OCP认证 071考试原题-41

时间:2019-11-07 来源:

【2019年8月版本】OCP 071认证考试最新版本的考试原题-41-CUUG整理

OCP的071考试,在8月份左右全部换了新题,近期考试的题也全部不包括之前的题库了,这次oracle更新071考试题库,虽然全都是新题,但跟之前的相比也有关联,比如把之前的考题稍微变换一下数字、更新一下日期、或者再加一个错误选项等等。

对于2019年8月份的更新,我们CUUG已经进行了收集整理,并给出初步的答案和讲解,仅供参考,希望对考OCP 071认证的同学有帮助。

choose three

The ORDERS table has a primary key constraint on the ORDER_ID column.

The ORDER_ITEMS table has a foreign key constraint on the ORDER_ID column,referencing the primary key of the ORDERS table.

The constraint is defined with on DELETE CASCADE.

There are rows in the ORDERS table with an ORDER_TOTAL less than 1000.

Which three DELETE statements execute successfully?

A) DELETE FROM orders WHERE order_total<1000;

B) DELETE * FROM orders WHERE order_total<1000;

C) DELETE orders WHERE order_total<1000;

D) DELETE FROM orders;

E) DELETE order_id FROM orders WHERE order_total<1000;

Answer:ACD

(解析:这个考的是语法题,属于低智商题目,因为定义外键的时候用了 DELETE CASCADE 选项,所以父表的行是可以删除。)

版权所有@北京神脑资讯技术有限公司(CUUG,中国UNIX用户协会) Copyright ALL Rights Reserved 京ICP备11008061号-1

CUUG旗下网站:www.cuug.com.cn www.cuug.com oracle.cuug.com bbs.cuug.com www.cuug.net

电话:010-59426307 010-59426319 邮政编码:100089

地址:北京市海淀区北清路164号28-38号院