题海让大学四年没有难题
白天模式登陆

题目详情

单选题 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数据库课程封面

学科:MySQL数据库

时间:2024-11-08 08:45:52

Copyright © 2022 津ICP备2021001502号