关于where条件的问题
sqlserver吧
全部回复
仅看楼主
level 1
谢cartman
楼主
我有一个课程表和一个学生表 ,其中sc中的cno是课程代码,怎么将11班的女同学的cs3019课程成绩修改为70分,where条件的时候怎么跨表格写条件
2016年11月08日 13点11分
1
level 7
Boom虾咔蜡咔
要建立关系
2016年11月08日 14点11分
2
level 1
胸无丶大痣☞
update sc set scscore='70' where cno='cs3019' and sno in
(select sno from student where sclass='11' and ssex='女');
是不是这么写的
2016年11月09日 03点11分
3
level 12
坏朋朋
是的
2016年11月12日 07点11分
4
1