【2019年8月版本】Oracle OCP認證 071考試原題-41
最新學訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯系在線老師,甲骨文官方認證,報名從速!
我要咨詢【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 選項,所以父表的行是可以刪除。)