注意:此页面搜索的是所有试题
题目内容
(河南财经政法大学SQL Server)
在Products数据库中建立一个新表authors,表中应该包含name列和每个作者的ID列,下列SQL语法正确的是
A.CREATE TABLE Authors ON Products (name varchar(50),ID smallint)
B.ALTER DATABASE Products ADD TABLE Authors (name varchar(50),ID smallint)
C.CREATE TABLE Products.Authors(name varchar(50),ID smallint)
D.CREATE TABLE Products.Authors(name,ID)
A.CREATE TABLE Authors ON Products (name varchar(50),ID smallint)
B.ALTER DATABASE Products ADD TABLE Authors (name varchar(50),ID smallint)
C.CREATE TABLE Products.Authors(name varchar(50),ID smallint)
D.CREATE TABLE Products.Authors(name,ID)
参考答案