教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 行业资料 >

完整word版数据库系统基础教程第四章答案

来源:网络收集 时间:2025-04-30
导读: Solutions Chapter 4 4.1. 1 4.1.2 b) c) In c we assume that a phone and address can only bel ong to a sin gle customer (1- d) In d we assume that an address can only bel ong to one customer and a phone can exist at only one address. If the

Solutions

Chapter 4

4.1.

1

4.1.2

b)

c)

In c we assume that a phone and address can only bel ong to a sin gle customer (1-

d)

In d we assume that an address can only bel ong to one customer and a phone can exist at only one address.

If the multiplicity of above relati on ships were m-to-n, the en tity set becomes weak and the key ssNo of customers will be needed as part of the composite key of the en tity set.

In c&d, we convert attributes phones and addresses to entity sets. Since entity sets often become relations in relational design, we must con sider more efficie nt alter natives.

In stead of query ing multiple tables where key values are duplicated, we can also modify attributes:

(i)P hones attribute can be con verted into HomePho ne, OfficePh one and CellPh one.

(ii) A multivalued attribute such as alias can be kept as an attribute where a sin gle colu mn can be used in relati onal desig n i.e. con cate nate all values. SQL

4.1.3

4.1.4

a)

c)

The relati on ship "played" betwee n Teams and Players is similar to relati on ship "plays" betwee n Teams and Players.

b) 1 >: i .-I T mains Oo L UJT 曰 Pla.yor3

uid^r 4.1.5 I ■

acxnnxzres

4.1.6 The in formatio n about childre n can be ascerta ined from motherOf and fatherOf relati on ships. Attribute ssNo is required since n ames are not uni que.

People

4.1.7

完整word版数据库系统基础教程第四章答案.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/333957.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)