Multiple Choice
Structure of the ORDERITEMS table
-Based on the structure of the ORDERITEMS table,which of the following commands will make certain that the ISBN entered actually exists in the ISBN column of the BOOKS table?
A) ALTER TABLE orderitems
ADD FOREIGN KEY isbn REFERENCES BOOKS TABLE (isbn) ;
B) ALTER TABLE orderitems
MODIFY FOREIGN KEY (isbn) REFERENCES books(isbn) ;
C) ALTER TABLE orderitems
CREATE FOREIGN KEY (isbn) REFERENCES books(isbn) ;
D) ALTER TABLE orderitems
ADD FOREIGN KEY (isbn) REFERENCES books(isbn) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q120: The FOREIGN KEY constraint is usually placed
Q121: A constraint is always enforced at the
Q122: The ALTER TABLE command with the <u>MODIFY
Q123: Which of the following statements about creating
Q124: The MODIFY clause is used with the
Q126: The _ keywords can be added to
Q127: A NOT NULL constraint can only be
Q128: A CHECK constraint requires that a data
Q129: A FOREIGN KEY constraint will not allow
Q130: The default name for a constraint is