alter table Score
add constraint PK_stuid_cousreId primary key(stuid,cousreId)
go
转载于:https://www.cnblogs.com/selfimprove/p/3222156.html
本文详细介绍了如何使用SQL语句为分数表添加复合主键约束,确保了数据的唯一性和完整性。
alter table Score
add constraint PK_stuid_cousreId primary key(stuid,cousreId)
go
转载于:https://www.cnblogs.com/selfimprove/p/3222156.html

被折叠的 条评论
为什么被折叠?