ACCP7.0S2优化myschool数据库设计第四章上机1-4
来源:互联网 发布:知乎的盈利模式 编辑:程序博客网 时间:2024/05/08 02:02
--上机1select MAX(studentresult) as '最高分',MIN(studentresult) as '最低分' from result wheresubjectid=(select subjectid from subject where subjectname='oop')and examdate=(select MAX(examdate) from result where subjectid=(select subjectid from subject where subjectname='oop'))--上机2select subjectname from subject where subjectid in (select subjectid from subject where gradeid=(select gradeid from grade where gradename='S1'))--上机3select studentname from student where studentno not in(select studentno from result where subjectid=(select subjectid from subject where subjectname='SQL') and examdate=(select MAX(examdate) from result where subjectid=(select subjectid from subject where subjectname='java'))) and gradeid=1--上机4if exists(select studentno from student where gradeid=(select gradeid from grade where gradename='S1'))beginupdate student set gradeid=(select gradeid from grade where gradename='S2') where gradeid=(select gradeid from grade where gradename='S1')end
0 0
- ACCP7.0S2优化myschool数据库设计第四章上机1-4
- ACCP7.0S2优化myschool数据库设计第二章上机练习1-7
- ACCP7.0S2优化MySchool数据库设计第三章上机1-3
- accp7.0-S2 优化MySchool数据库设计
- accp7.0S2优化myschool数据库设计第五章项目
- ACCP7.0S2优化MySchool数据库设计管理系统脚本
- accp7.0-s2 优化MySchool数据库
- S2 优化MySchool 数据库设计 第四章
- ACCP7.0S2优化myschool数据库设计第二章课后简答
- S2 优化MySchool 数据库设计 第七章 上机
- ACCP7.0优化myschool数据库设计第八章项目
- ACCP7.0优化myschool数据库设计第六章
- ACCP7.0优化myschool数据库设计第九章项目
- ACCP7.0优化myschool数据库设计第七章
- S2 优化MySchool 数据库设计 第八章
- S2 优化MySchool 数据库设计 第九章
- S2 优化MySchool第四章
- S2 优化MySchool数据库设计
- 关于Log4j启动后,强制删除日志文件后|日志不再输出的问题
- zoj2883
- ubuntu 安装pygit2
- S2 优化数据库 第四章上机
- zabbix监控多个tomcat
- ACCP7.0S2优化myschool数据库设计第四章上机1-4
- 使用Handler实现Service和Activity之间的双向通信
- 【Git 教程(5)】 Git基本操作
- 虚拟键盘与fixed带给移动端的痛!
- 杭电ACM1002(A+B)Problem
- 微信小程序学习之路03-最简易的音乐播放器
- opencv3.1.0 & opencv for android(1)
- 总觉得这可以用(网络流)
- 微信公众号开发7解析定位消息