QuestionQ249

VerifiedManaging Schema Objects

Refer to the exhibit for the SALES table definition. Which views can support all DML operations?

Question Image

Choose two
Explanation

A simple view over one base table can support inserts, updates, and deletes when it includes the required base-table columns. WITH CHECK OPTION permits DML but requires inserted or updated rows to continue satisfying the view predicate. A and B expose all required SALES columns. C omits required NOT NULL columns, so inserts cannot succeed, and D contains an aggregate and GROUP BY, so it is not directly modifiable.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!