实验三多表sql查询答案.pdfVIP

  • 12
  • 0
  • 约1.65千字
  • 约 2页
  • 2023-06-30 发布于北京
  • 举报
写出查询信息科学与 的学生的学号、 和 的SQL 语句 1、use edu_d select xh,xm,xbm from stu_info,gdept where stu_info.xsh=gdept.xsh and gdept.xsm=信息科学与工程 或 select xh,xm,xbm from stu_info where xsh=(select xsh from gdept where xsm=信息科学与工程) 写出查询成绩在85 分以上的学生的学号、 和课程名称的SQL 语句 2、use edu_d select stu_info.xh,xm,km from stu_info,xk,gcourse where stu_info.xh=xk.xh and xk.kch=gcourse.kch and kscj85 写出查询学号的前4 位是’2001’的学生的学号、 和学院名称的SQL 语句 3、use edu_d select xh,xm,xsm from stu_info,gdept where stu_info.xsh=gdept.

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档