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

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

时间:2019-02-19 10:23:31      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:col   const   replace   let   子查询   state   命令   delete   sed   

18、(8-7) choose two
Which two statements are true regarding views? (Choose two.)

A) A simple view in which column aliases have been used cannot be updated.
B) The OR REPLACE option is used to change the definition of an existing view without dropping
and re-creating it.
C) The WITH CHECK OPTION constraint can be used in a view definition to restrict the columns
displayed through the view.
D) Rows added through a view are deleted from the table automatically when the view is dropped.
E) Rows cannot be deleted through a view if the view definition contains the DISTINCT keyword.
F) A subquery used in a complex view definition cannot contain group functions or joins.

Answer:BE
(解析:
只要是简单视图,使用别名的列是可以使用 UPDATE 命令更新的。
WITH CHECK OPTION 用于限制通过视图更改基表的条件,禁止更改不包含在子查询条件里的行。)

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

标签:col   const   replace   let   子查询   state   命令   delete   sed   

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

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