CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  DB2 >  基础类

几个代码的问题,请教各位!

楼主letaon(只影)2004-12-04 08:06:26 在 DB2 / 基础类 提问

Tables:  
   
  exam   (excode,   extitle,   exlocation,   exdate,   extime)  
  student   (sno,   sname,   semail)  
  entry   (eno,   excode,   sno,   egrade)  
  cancel   (eno,   excode,   sno,   cdate,   cuser)  
   
   
  questions:  
  P.     Produce   a   table   showing   the   examination   timetable   for   a   given   student.   The   student   is   specified   by   his/her   student   membership   number.   The   timetable   should   contain   the   student's   name   and   the   location,   code,   title,   day   and   time   of   each   examination   for   which   the   student   has   entered.  
  给定一个学号sno=100,   创建   为这个学生的timetable,要求这个table里name,   location,   code,   title,   day,   time.  
  Q.   Produce   a   table   showing   the   result   obtained   by   each   student   for   each   examination.   The   table   should   be   sorted   by   examination   code   and   then   by   student   name.   If   the   student   is   awarded   a   grade   of   70%   or   more   then   the   result   is   to   be   shown   as   'Distinction',   a   grade   of   at   least   50%   but   less   than   70%   is   to   be   shown   as   'Pass'   and   grades   below   50%   are   to   be   shown   as   'Fail'.   If   the   student   has   not   taken   the   examination   then   the   result   is   shown   as   'Not   taken'.  
  创建一个table(code,   name,   result),保存每个学生的每门成绩,要求先按excode排序,再按sname排。如果这个学生的成绩>70%   result里显示Distinction,   >50%   &&   <70%   显示   PASS,     <50%   显示   Fail。  
  问题点数:0、回复次数:1Top

1 楼homeland520(天山之王(哈哈两声说Beybey))回复于 2004-12-12 17:33:53 得分 0

upTop

相关问题

  • 请各位帮我把这几个Delphi代码改成C++Builder代码
  • 到哪能找个病毒源代码的网站,各位介绍几个吧。
  • 请问各位大侠,请教几个问题,加注释给代码
  • 各位大虾提供几个delphi源代码的ftp站点和网站。谢谢了。(内空)
  • 各位帮我看看,百思不解的一个小问题(只涉及几行代码)
  • 各位,能否帮小弟看看这个代码,先谢了
  • 请问各位认为哪个站的JAVASCRIPT源代码最好????
  • 关于"代码工"这个称呼,各位同仁怎么看?
  • 请教各位大虾给个有源代码的小项目
  • 请教各位一个关于代码统计的问题

关键词

  • code
  • excode
  • student
  • sno
  • timetable
  • examination
  • grades
  • result
  • table

得分解答快速导航

  • 帖主:letaon

相关链接

  • CSDN Blog
  • 技术文档
  • 代码下载
  • 第二书店
  • 读书频道

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo