16. Examine the description of the PRODUCT DETAILs table:

Which two statements are true?

A.PRODUCT_NAME cannot contain duplicate values

B.EXPIRY_DATE contains the SYSDATE by default if no date is assigned to it

C.EXPIRY_DATE cannot be used in arithmetic expressions

D.PRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it

E.PRODUCT_PRICE contains the value zero by default if no value is assigned to it

F. PRODUCT_ID can be assigned the PRIMARY_KEY constraint


参考答案:DF


解析:

A.错:PRODUCT_NAME不能包含重复值(#PRODUCT_NAME不是主键和唯一性索引,所以可能会有重复 )

B.错:如果没有指定日期,则过期日期默认包含SYSDATE (#没设置default值)

C.错: 有效期不能在算术表达式中使用(arithmetic expressions指算术表达式,日期可以减日期)

D.对:product_PRICE可以在算术表达式中使用,即使它没有存储任何值 (#NULL与其他值运算=null)

E.错:  如果没有赋值,product_PRICE默认包含值0 (#没设置default值)

F.对:PRODUCT_ID可以被分配为PRIMARY KEY约束 (可以设为主键)


解析视频链接:【云贝教育】Oracle OCP 19c认证考试1Z0-082题库最新解析 第十六题

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: oracle