北京优技教育科技有限公司
Oracle 12c的OCP考试考3科,分别是071、062、063,对于这些考题,我们专门有人负责收集整理,并由专业的老师对这些考题进行解析,希望可以帮助想考OCP的同学,这里开始介绍071的题库。
每周五晚8点,我们有免费的OCP解析公开课,地址:https://ke.qq.com/course/326223 OCP题库交流群:1015267481,验证ocp
-------------------------------------------------------
071考试题库-第39题、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 用于限制通过视图更改基表的条件,禁止更改不包含在子查询条件里的行。)