
1条回答 默认 最新
长银的笔记本 2022-12-04 21:28关注关系模型和完整性可以参考文章:
https://blog.csdn.net/hhhhxxn/article/details/105888468
https://blog.csdn.net/qq_42884482/article/details/100150177
参考答案如下(环境mysql)create table s( sno varchar(10) primary key, sname varchar(20) not null, age int, sex int, dno varchar(10), foreign key(dno) references d(dno) ) update sc set grade=grade +2 where cno='C2' delete from sc where sc.sno='S1' select sno,sname from s where s.sno not in (select sno from sc) select tno,tname from t where t.dno=(select dno from d where dname='信息')解决 无用评论 打赏 举报 编辑记录