OCP11g+12c考试资料群:1015267481 验证码:ocp

【OCP-12c】CUUG 071题库考试原题及答案解析(14)

14、(6-13) choose the best answer:
View the Exhibit and examine the structure of the ORDERS table.
Which UPDATE statement is valid?

A) UPDATE orders
SET order_date = '12-mar-2007'
AND order_total = TO_NUMBER(NULL)
WHERE order_id = 2455;

B) UPDATE orders
SET order_date = '12-mar-2007',
order_total = NULL
WHERE order_id = 2455;

C) UPDATE orders
SET order_date = TO DATE('12-mar-2007','dd-mon-yyyy'),
SET order_total = TO NUMBER(NULL)
WHERE order_id = 2455;

D) UPDATE orders
SET order_date = '12-mar-2007',
order_total IS NULL
WHERE order_id = 2455;

Answer:D
(解析:注意语法)

posted @ 2019-02-18 14:50  cnblogs_5359  阅读(347)  评论(0编辑  收藏  举报