--第一题
select co.Cname from Student st
left join Score sc on st.sno = sc.sno
left join Course co on sc.Cno = co.Cno
where st.Sname = '马尔扎哈'
这里主要是SQL查询的一些问题,有的需要用上子查询即可:
select co.cname from student st
left join score sc on sc.sno=st.sno
left join course co on co.cno=sc.cno
where st.sname='马尔扎哈'
如需其他帮助可进一步私信
select * from course where cno in( select cno from score where sno=(select cno from student where sname='马儿扎哈' ))
您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632