- 1、本文档共8页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数据库课堂测验
终极预测【基于课堂作业】********************************【考试题预测】******************************1、给相应的文字描述写出先关的操作!(第2章)【必考】【给个例题】Consider the relational database of Figure 2.35, where the primary keys are un-derlined. Give an expression in the relational algebra to express each of the fol-lowing queries:a. Find the names of all employees who work for First Bank Corporation.b. Find the names and cities of residence of all employees who work for FirstBank Corporation.c. Find the names, street address, and cities of residence of all employees whowork for First Bank Corporation and earn more than $10,000 per annum.d. Find the names of all employees in this database who live in the same cityas the company for which they work.e. Assume the companies may be located in several cities. Find all companieslocated in every city in which Small Bank Corporation is located.employee (person-name, street, city)works (person-name, company-name, salary)company (company-name, city)manages (person-name, manager-name)Figure 2.35. Relational database for Exercises 2.1, 2.3 and 2.9.Answer:a. Πperson-name (σcompany-name =“First Bank Corporation” (works)) 【例题2】2.7 Consider the relational database of Figure 2.35. Give an expression in the rela-tional algebra for each request:a. Give all employees of First Bank Corporation a 10 percent salary raise.b. Give allmanagers in this database a 10 percent salary raise, unless the salarywould be greater than $100,000. In such cases, give only a 3 percent raise.c. Delete all tuples in the works relation for employees of Small Bank Corpora-tion.2、SQL查询语言的考察(第3、4章)【╮(╯▽╰)╭还是必考内容,而且考点多很分散】【参见作业!!以下是作业的精选题!!】3、将描述的关系和实体用ER图表示出来并绘制ER图(第6章)【这个我想地球人都知道】【给个例子吧!】绘制 E-R 图,要求在图中表示联系的类型,最后转换成关系表,并指明主键。 实体 1:学生,属性:学号、姓名、性别、年龄。主标识符:学号 实体 2:课程,属性:课程号、课程名、学分数。主标识符:课程号 注:一个学生可以选多门课程,一门课程也可以被多个学生选,学生选课后有成绩。 4、函数的推导以及闭包运算(第7章)【例子如下!】To prove that :if α → β and α → γ then α → βγFollowing the hint, we derive:α → β givenαα → αβ augmentation ruleα → αβ union of identical setsα → γ givenαβ
您可能关注的文档
- 现代食品检测技术考点.doc
- 第9章_事务调度与并发控制.doc
- 数据库原理与应用期末考试大题.doc
- 科学八年级下册第一章第1-2节讲解.doc
- 1994年上海市高中学生化学竞赛(“华理─化工杯”)试题.doc
- 兰州交通大学 数据库 题库.doc
- 《数据库应用技术》B卷试题.doc
- 数据库系统原理模拟试卷(五).doc
- 2012-2013-1学期南方数据库原理与应用(B)卷.doc
- 第七八九十章选择题.doc
- 智慧人防信息化建设方案(47页 PPT).pptx
- 智慧排水系统解决方案(28页 PPT).pptx
- 非常专业完整的WMS解决方案(智能仓储基础架构)PPT课件.pptx
- 浅析“光储+储能”技术应用及发展趋势-周承军(27页 PPT).pptx
- 【BIM案例】BIM技术在大连地铁工程机电设备(风水电)安装项目应用(64页PPT).pptx
- 数字化工厂规划报告三年实施方案及数字化能力评估(60页)(1).pptx
- 数字工厂基础服务平台解决方案(45页 PPT工程数字化交付、数字工厂全生命周期管理).ppt
- 【案例】烟草行业企业数字化转型数字营销解决方案(182页 PPT).pptx
- 智慧水务大数据监管平台建设方案(45页 PPT).pptx
- 保险业大数据解决方案(创造数据和分析的信息优势)155页 PPT.pptx
最近下载
- 4M变更(导入)申请表 A.xls VIP
- 盛和资源(连云港)150万ta锆钛原料项目环评报告书.pdf
- 磁控管性能参数及测试五.ppt
- 弱电监理规划.pdf VIP
- 松江养老社区项目08-02地块项目总结.doc
- 酒店用品设备采购投标方案(技术方案).docx
- Dahua大华HDCVI产品HDCVI硬盘录像机SMB分销系列DH-HCVR7216A-V4 DH-HCVR7216A-V4_硬盘录像机_(HDCVI系列)_使用说明书_V2.3.1.pdf
- 2025年江西司法警官职业学院单招语文测试题库必威体育精装版.docx VIP
- 人口老龄化对老年人供养水平的影响.docx VIP
- 《伊索寓言》测试题附答案.docx VIP
文档评论(0)