Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following statement on the view concept in SQL is invalid?

  • A.All views are not updateable
  • B.The views may be referenced in an SQL statement whenever tables are referenced.
  • C.The views are instantiated at the time they are referenced and not when they are defined.

  • D.The definition of a view should not have GROUP BY clause in it.

Answer: D

Correct answer: The definition of a view should not have GROUP BY clause in it

A view definition may perfectly well contain GROUP BY - that is one of the commonest uses of a view, to present a summary. What such a view cannot generally do is accept updates, which is the true statement the first option makes.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.