What happens if Samantha, whose view of the database contains only a portion of the rows and columns of the base table, attempts to add a row to the table through her view?
A) Samantha's INSERT command will automatically be rejected.
B) Samantha could accidentally add a row with a duplicate primary key to the table.
C) If Samantha's INSERT command succeeds, the new row will contain several null values.
D) If all the columns in the base table accept nulls, Samantha's INSERT command will fail.
Correct Answer:
Verified
Q21: Updating a database using a view can
Q22: The types of constraints supported in SQL
Q23: Martine's database administrator has set up a
Q24: What happens once the following command is
Q25: Views can contain only the columns required
Q27: What are the disadvantages of using an
Q28: Explain what happens when you create a
Q29: What does this SQL command accomplish? ALTER
Q30: The purpose of creating databases indexes is
Q31: Which MySQL command displays all tables associated
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents