nerdexam
Oracle

1Z0-007 · Question #138

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

The correct answer is A. A view can be created as read only. B. A view can be created as a join on two or more tables. A view can becreated as read only object. However, it is possible to change data in the underlying table(s) with some restrictions. A view also can be created as a join on two or more tables. This type of view is called complex view. Complex views provide complicated data…

Creating and Managing Schema Objects

Question

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

Options

  • AA view can be created as read only.
  • BA view can be created as a join on two or more tables.
  • CA view cannot have an ORDER BY clause in the SELECT statement.
  • DA view cannot be created with a GROUP BY clause in the SELECT statement.
  • EA view must have aliases defined for the column names in the SELECT statement.

How the community answered

(39 responses)
  • A
    85% (33)
  • C
    3% (1)
  • D
    5% (2)
  • E
    8% (3)

Explanation

A view can becreated as read only object. However, it is possible to change data in the underlying table(s) with some restrictions. A view also can be created as a join on two or more tables. This type of view is called complex view. Complex views provide complicated data models where many base tables are drawn together into one virtual table. Incorrect Answers C: Query operations containing ORDER BY clause are also permitted, so long as the ORDER BY clause appearsoutside the parentheses. The following is an example of what I mean: CREATE VIEW my_view AS (SELECT*FROM emp) D: A view can be created with a GROUP BY clause in the SELECT statement. E: It is not required to have aliases defined for the column names in the SELECT statement.

Topics

#views#read-only view#join view#view restrictions

Community Discussion

No community discussion yet for this question.

Full 1Z0-007 Practice