码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-02-18 16:14:43      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:stat   ocp   state   tab   bit   cuug   where   struct   答案   

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
(解析:注意语法)

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

标签:stat   ocp   state   tab   bit   cuug   where   struct   答案   

原文地址:http://blog.51cto.com/13854012/2351313

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!