题目详情
单选题 score表的主键建立在sid和cid字段上(联合主键),以下创建score表正确的语句是
A. create table score( sid int not null, cid int not null, grade float), primary key(sid), primary key(cid))
B. create table score( sid int not null, cid int not null, grade float, primary key(sid,cid))
C. create table score( sid int not null primary key, cid int not null, grade float), primary key(cid))
D. create table score( sid int not null primary key, cid int not null primary key, grade float))

学科:MySQL数据库
时间:2024-11-08 08:45:52
相关题目
相关作业
