- 8
- 0
- 约1.9千字
- 约 2页
- 2017-06-17 发布于河南
- 举报
SQL实验指导答案
/*1*/select student.sno 学号,sn 姓名,cn 课程, score 成绩
from student,sc,course
where score80 and score90 and student.sno=sc.sno and sc.cno=course.cno
/*2*/select cn 课程
from sc,course
where sc.cno=course.cno
group by course.cn
having count(*)=4
/*3*/select sn 姓名,age 年龄,dept 系别from student where ageany
(
select age
from student
where dept=信息
)
and dept信息
order by age desc
/*4*/select sno 学号, sn 姓名,dept 系别from studentn where age=any
(
select age
from student
where sn=张建国
)
and sn张建国
/*5*/select sn 姓名from student where sno=any
(
select sno
from sc
group by sno
您可能关注的文档
最近下载
- 一种促进林下西洋参生长的纳米硅基蚓粪滤液及制备方法.pdf VIP
- 索尼DCR0PC55摄像机维修手册.pdf
- 220kV GIS耐压及局部放电检测试验方案.doc
- 八上23《孟子》三章-得道多助,失道寡助课件(34张ppt).pptx VIP
- 1.2--1.3 计量经济学建模步骤及应.pptx VIP
- “贯彻党的创新理论、加强党性锤炼、联系服务群众、发挥先锋模范作用、改作风树新风”党支部副书记2025年度组织生活会个人对照检查材料(五个对照).docx VIP
- 第四课时 Numbers in Life 课件 一年级 · 英语上册 · 人教版(一年级起点).pptx VIP
- 妈妈不见了PPT课件.pptx VIP
- 2023年徐州市云龙湖风景名胜区管理委员会调任工作人员笔试参考题库(共500题)答案详解版.docx
- 人教版小学数学六年级下册第三单元《圆柱与圆锥》大单元教学设计.docx VIP
原创力文档

文档评论(0)