2016数据库第五六七章作业答案.pptVIP

  • 109
  • 0
  • 约7.92千字
  • 约 22页
  • 2016-12-25 发布于北京
  • 举报
第五章作业 1、查询学生选课表中的全部数据 select * from sc 2、查询计算机系学生的姓名、年龄 select sname,sage from student where sdept=‘计算机系‘ 3、查询成绩在70-80的学生的学号、课程号和成绩 select * from sc where grade between 70 to 80 4、查询计算机系年龄在18-20的男生的姓名、年龄 select sname,sage from student Where sdept=’计算机系’ and sage between 18 to 20 and ssex=‘男’ 5、查询“C01”课程的最高成绩 Select max(grade) from sc where cno=‘c01’ Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 6、查询计算机系学生的最大年龄和最小年龄 select max(sage),min(sage) from student where sdept=‘计算机系’ 7、统计每个系的学生人数 select sd

文档评论(0)

1亿VIP精品文档

相关文档