Which of the following SQL statements is invalid and will result in an error message? Assume that the BOOKS table currently has no constraints and contains no data. For your information, BOOKS and PUBLISHER tables have a relationship shown below:单项选择题

题目图片
A

ALTER TABLE books ADD CONSTRAINT books_isbn_pk;

B

ALTER TABLE books ADD CONSTRAINT books_pubid_fk FOREIGN KEY (pubid) REFERENCES publisher (pubid);

C

ALTER TABLE books ADD CONSTRAINT books_isbn_pk PRIMARY KEY (isbn);

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!