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

Discussion

To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:

  • A.a particular column in a particular underlying table.
  • B.a particular column in a particular row.
  • C.a particular row in a particular underlying table.
  • D.None of the above is correct.

Answer: C

Correct answer: a particular row in a particular underlying table.

To apply an update the DBMS must know which row of which base table the change belongs to, and that is possible only if the view carries the key and the column maps to a single stored column. Where a view aggregates, joins ambiguously or computes a column, no such row exists and the update cannot be performed.

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

Post your comment

Please log in or register to post a comment.