数据库系统基础教程第四章答案.doc

上传人:h**** 文档编号:892620 上传时间:2018-11-05 格式:DOC 页数:45 大小:603.51KB
下载 相关 举报
数据库系统基础教程第四章答案.doc_第1页
第1页 / 共45页
数据库系统基础教程第四章答案.doc_第2页
第2页 / 共45页
数据库系统基础教程第四章答案.doc_第3页
第3页 / 共45页
数据库系统基础教程第四章答案.doc_第4页
第4页 / 共45页
数据库系统基础教程第四章答案.doc_第5页
第5页 / 共45页
点击查看更多>>
资源描述

1、SolutionsChapter 4 4.1.14.1.2a)b)c)In c we assume that a phone and address can only belong to a single customer (1-m relationship represented by arrow into customer). d)In d we assume that an address can only belong to one customer and a phone can exist at only one address.If the multiplicity of abo

2、ve relationships were m-to-n, the entity set becomes weak and the key ssNo of customers will be needed as part of the composite key of the entity set.In c&d, we convert attributes phones and addresses to entity sets. Since entity sets often become relations in relational design,we must consider more

3、 efficient alternatives. Instead of querying multiple tables where key values are duplicated, we can also modify attributes: (i) Phones attribute can be converted into HomePhone, OfficePhone and CellPhone. (ii) A multivalued attribute such as alias can be kept as an attribute where a single column c

4、an be used in relational design i.e. concatenate all values. SQL allows a query “like %Junius%“ to search the multiple values in a column alias.4.1.3 4.1.4 a)b)c)The relationship “played“ between Teams and Players is similar to relationship “plays“ between Teams and Players. 4.1.5 4.1.6 The informat

5、ion about children can be ascertained from motherOf and fatherOf relationships. Attribute ssNo is required since names are not unique.4.1.74.1.8a)(b)4.1.9AssumptionsA Professor only works in at most one department.A course has at most one TA.A course is only taught by one professor and offered by one department.Students and professors have been assigned unique email ids.A course is uniquely identified by the course no, section no, and semester (e.g. cs157-3 spring 09).4.1.10

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

当前位置:首页 > 教育教学资料库 > 参考答案

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。