nerdexam
Oracle

1Z0-061 · Question #114

You work as a database administrator at ABC.com. You study the exhibit carefully. You want to create a SALE_PROD view by executing the following SQL statements: Which statement is true regarding the…

The correct answer is D. The view will be created but no DML operations will be allowed on the view. Rules for Performing DML Operations on a View You cannot add data through a view if the view includes: A GROUP BY clause The DISTINCT keyword The pseudocolumn ROWNUM keyword Columns defined by expressions NOT NULL columns in the base tables that are not selected by the view

Creating Other Schema Objects

Question

You work as a database administrator at ABC.com. You study the exhibit carefully. You want to create a SALE_PROD view by executing the following SQL statements:

Which statement is true regarding the execution of the above statement?

Exhibit

1Z0-061 question #114 exhibit

Options

  • AThe view will be created and you can perform DLM operations on the view
  • BThe view will not be created because the join statements are not allowed for creating a view
  • CThe view will not be created because the GROUP BY clause is not allowed for creating a view
  • DThe view will be created but no DML operations will be allowed on the view

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    4% (2)
  • C
    9% (5)
  • D
    84% (47)

Explanation

Rules for Performing DML Operations on a View You cannot add data through a view if the view includes: A GROUP BY clause The DISTINCT keyword The pseudocolumn ROWNUM keyword Columns defined by expressions NOT NULL columns in the base tables that are not selected by the view

Topics

#CREATE VIEW#GROUP BY in view#DML restrictions#view definition

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice