Q13. 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.

1z0-071 Oracle Database 12c SQL 第13题 ON DELETE CASCADE选项

Which DELETE statement would execute successfully?
A. DELETE order_id FROM orders WHERE order_total < 1000;
B. DELETE orders WHERE order_total < 1000;
C. DELETE FROM orders WHERE (SELECT order_id FROM order_items);

D. DELETE orders o, order_items i WHERE o.order id = i.order id;

Correct Answer: B

相关文章:

  • 2021-04-07
  • 2021-12-17
  • 2021-05-29
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
猜你喜欢
  • 2021-04-08
  • 2022-01-12
  • 2021-06-18
  • 2021-09-25
  • 2021-07-20
  • 2021-05-26
  • 2021-07-05
相关资源
相似解决方案