Wherein it is created with the ON DELETE CASCADE option Which DELETE statement would execute successfully?

View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS tables.
ORDER_ID is the primary key in the ORDERS table. It is also the foreign key in the ORDER_ITEMS table wherein it is created with the ON DELETE CASCADE option Which DELETE statement would execute successfully?


A. Option A
B. Option B
C. Option C
D. Option D

Download Printable PDF. VALID exam to help you PASS.

7 thoughts on “Wherein it is created with the ON DELETE CASCADE option Which DELETE statement would execute successfully?

    1. In B, the subquery is trying to delete just the ORDER_ID which is invalid. It is similar to D except without the WHERE clause. In C it is missing FROM but it will work in the newer version of Oracle.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.