数据库课件教案.ppt

上传人:创****公 文档编号:1726837 上传时间:2019-10-23 格式:PPT 页数:5 大小:55KB
返回 下载 相关 举报
数据库课件教案.ppt_第1页
第1页 / 共5页
数据库课件教案.ppt_第2页
第2页 / 共5页
点击查看更多>>
资源描述

《数据库课件教案.ppt》由会员分享,可在线阅读,更多相关《数据库课件教案.ppt(5页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、Database Assignment,Write down your answers in word document with file namehighlighting your name, student number, and class.E.g “95002”+”_”+ “03 class”+”_”+”name”,like, “95002_03_Mike.doc”,Number 1(20%)Use one SQL statement to get the list of all the student names, whose every registered course has

2、 a score higher than 85.name course score Mike DataBase 81Jane DataBase 86JaneMath 90TonnyDataBase 83Tonny Math 100,Number 2 (20%)Assume the student table has the following rows.Serial Number Sno Sname Cno Cname Score1 2005001Mike0001Math992 2005002John0001Math893 2005001Mike 0001Math99Use one SQL s

3、tatement to delete the records whose attributes are redundant except for Serial number.,Number 3(30%)Assume a database has the following tables.Teacher(Tno, Tname) describes the information concerning teachersStudent(Sno,Sname,Sage,Ssex) stores the information about studentsCourse(Cno,Cname,Tno) is

4、the course tableSC(Sno,Cno,score) has the scores1. Use one SQL statement to get the list of student names, who at least registers one common course with student with Sno “95005”2. Use one SQL statement to get the complete list of students, who registers only one course. Print their student numbers and names and order the list by student number.,3. Use one SQL statement to get the list of courses, each of which is registered by every student.,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > pptx模板 > 校园应用

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com