下载此文档

数据库课堂测验.docx


文档分类:IT计算机 | 页数:约8页 举报非法文档有奖
1/8
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/8 下载此文档
文档列表 文档介绍
景世超计科三班终极预测【基于课堂作业】******************************** 【考试题预测】****************************** 1 、给相应的文字描述写出先关的操作! (第 2章) 【必考】【给个例题】 Consider the relational database of Figure , 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 First Bank Corporation. c. Find the names, street address, and cities of residence of all employees who work 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 city as pany for which they work. e. Assume panies may be located in several cities. Find panies located 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 . Relational database for Exercises , and . Answer: person-name (pany-name =“ First Bank Corporation ”(works)) 【例题 2】 Consider the relational database of Figure . 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 s

数据库课堂测验 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数8
  • 收藏数0 收藏
  • 顶次数0
  • 上传人63229029
  • 文件大小743 KB
  • 时间2017-01-26