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

转载于:https://www.cnblogs.com/cnblogs5359/p/10395603.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值