| 4. |
| StoreID | StoreName | StoreLocation | | InvoiceID | StoreID | InvoiceAmount | Is the following view updateable? CREATE VIEW MyView AS SELECT * FROM Stores JOIN Invoices ON Stores.StoreID = Invoices.StoreID
Given the following tables: Stores
|
| |
A.
|
Yes, because the tables are in the same database |
| |
B.
|
Yes, because the CREATE VIEW statement references both tables |
| |
C.
|
No, because it is a join view, and there is no way to determine which base table a given write belongs to without an INSTEAD OF trigger |
| |
D.
|
No, because you cannot use a * symbol in this statement |