nerdexam
Oracle

1Z0-047 · Question #176

Which two statements are true regarding views? (Choose two.)

The correct answer is C. Rows cannot be deleted through a view if the view definition contains the DISTINCT keyword. E. The OR REPLACE option is used to change the definition of an existing view without dropping. See the full explanation below for the reasoning.

Question

Which two statements are true regarding views? (Choose two.)

Options

  • AA simple view in which column aliases have been used cannot be updated.
  • BA subquery used in a complex view definition cannot contain group functions or joins.
  • CRows cannot be deleted through a view if the view definition contains the DISTINCT keyword.
  • DRows added through a view are deleted from the table automatically when the view is dropped.
  • EThe OR REPLACE option is used to change the definition of an existing view without dropping
  • FThe WITH CHECK OPTION constraint can be used in a view definition to restrict the columns

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    11% (5)
  • C
    78% (36)
  • D
    2% (1)
  • F
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice