数据库原理基础教程英文版答案CH1-作业(1)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

CH1作业Fillintheblank.1、Adatamodelisanotationfordescribingdataorinformation.Thedescriptiongenerallyconsistsofthreeparts:、、.2、andiscalledtheschemaforthatrelation.3、Whenclearingkey(keys),anattributeorlistofattributesmaybedeclaredor.4、IfPRIMARYKEYisused,thenattributesinSarenotallowedtohaveasavaluefortheircomponents.Trueorfalse1、Therelationalmodelisbasedontables.2、SQLvaluecan’tbeNULL.3、Eithersaysthatnotwotuplesoftherelationmayagreeinalltheattribute(s)onthelist.4、NoattributeofaPRIMARYKEYcaneverbeNULLinanytuple.ButattributesdeclaredUNIQUEmayhaveNULL’s,andtheremaybeseveraltupleswithNULL.5、LikeHTML,theopeningtaginXMLcanhaveatttribute=valuepairs.Singlechoice.1、Inthefollowingfigure,thereareinstancesoftworelationsthatmightconstitutepartofabankingdatabase.Indicatethefollowing:TheattributesofAccountrelationis.A.acctNo,type,balanceB.acctNo,typeC.acctNo,balanceD.acctNom,type,balance2、Howmanydifferentways(consideringordersoftuplesandattributes)aretheretorepresentarelationinstanceifthatinstancehas:nattributesandmtuples?A.n!m!,B.(n-1)!m!,C.n!(m-1)!,Dn!(m+1)!3、Howmanydifferentways(consideringordersoftuplesandattributes)aretheretorepresentarelationinstanceifthatinstancehas:Fourattributesandfivetuples?A.1440,B.2880,C.576,D7204、Howmanydifferentways(consideringordersoftuplesandattributes)aretheretorepresentarelationinstanceifthatinstancehas:Threeattributesandthreetuples?A.20,B.25,C.36,D48Multiplechoice1、Inthefollowingfigure,thereareinstancesoftworelationsthatmightconstitutepartofabankingdatabase.Indicatethefollowing:ThetuplesofAccountrelationare.A.(12345,savings,12000)B.(34567,checking,1000),C.(23456,checking,1000)D.(34567,savings,25)Essayquestion1、Wesuggestedthattherearemanyexamplesofattributesthatarecreatedforthepurposeofservingaskeysofrelations.Givesomeexamples.

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功