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

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
Get step-by-step solutions from verified subject matter experts
