电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

数据库系统基础教程第二章答案解析VIP免费

数据库系统基础教程第二章答案解析_第1页
1/21
数据库系统基础教程第二章答案解析_第2页
2/21
数据库系统基础教程第二章答案解析_第3页
3/21
完美 WORD 格式 Exercise 2.2.1aFor relation Accounts, the attributes are:acctNo, type, balanceFor relation Customers, the attributes are:firstName, lastName, idNo, accountExercise 2.2.1bFor relation Accounts, the tuples are:(12345, savings, 12000),(23456, checking, 1000),(34567, savings, 25)For relation Customers, the tuples are:(Robbie, Banks, 901-222, 12345),(Lena, Hand, 805-333, 12345),(Lena, Hand, 805-333, 23456)Exercise 2.2.1cFor relation Accounts and the first tuple, the components are:123456  acctNosavings  type12000  balanceFor relation Customers and the first tuple, the components are:Robbie  firstNameBanks  lastName901-222  idNo12345  accountExercise 2.2.1dFor relation Accounts, a relation schema is:Accounts(acctNo, type, balance)For relation Customers, a relation schema is:Customers(firstName, lastName, idNo, account)Exercise 2.2.1eAn example database schema is:Accounts (acctNo,type,balance)Customers (firstName,lastName, 专业整理分享 完美 WORD 格式 idNo,account)Exercise 2.2.1fA suitable domain for each attribute:acctNo  Integertype  Stringbalance  IntegerfirstName  StringlastName  StringidNo  String (because there is a hyphen we cannot use Integer)account  IntegerExercise 2.2.1gAnother equivalent way to present the Account relation:acctNobalancetype3456725savings234561000checking1234512000savingsAnother equivalent way to present the Customers relation:idNofirstNamelastNameaccount805-333LenaHand23456805-333LenaHand12345901-222RobbieBanks12345Exercise 2.2.2Examples of attributes that are created for primarily serving as keys in a relation:Universal Product Code (UPC) used widely in United States and Canada to track products in stores.Serial Numbers on a wide variety of products to allow the manufacturer to individually track each prod...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

数据库系统基础教程第二章答案解析

最好的沉淀+ 关注
实名认证
内容提供者

行业文档

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部