Question: SQL The mystery bookstore also created another two tables: the table AUTHOR which keeps authors information, with the attributes ID, first name, and last name,

SQL

SQL The mystery bookstore also created another two tables: the table AUTHOR

The mystery bookstore also created another two tables: the table AUTHOR which keeps authors information, with the attributes ID, first name, and last name, and the intermediary table BOOKAUTHORS which relates books with their authors. It has two attributes: bookID which is a foreign key pointing to the ID of BOOK, and authorID which is a foreign key pointing to the ID of AUTHOR. The overall schema looks like: BOOKINFO (ID, title, ISBN, pubID, CYEAR) PUBINFO (ID, name, city) AUTHOR (ID, firstname, lastname) BOOKAUTHORS (bookID, authorID) What happens when the following SQL statement is executed: DROP TABLE BOOKAUTHORS CASCADE; Select one: A. Nothing happens. B. Only BOOKAUTHORS table is deleted. C. BOOKAUTHORS, AUTHOR, and BOOKINFO tables are deleted. D. The DBMS raises an error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!