Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the following prob l em, d efineanERO for t he initial requiremen t s and t hen revise the ERO f or the new
Forthe following problem,defineanERO fortheinitial requirementsandthenrevise the EROforthe new requirements. Your solutionshouldhaveaninitial
ERO,a revised ERO,andalistof design decisionsfor each ERO.Inperformingyouranalysis,you maywantto followtheapproach presentedinSection 6.1.
Design a databaseto assistphysical plant personnel in managing assignments of keystoemployees. The primary purposeofthedatabaseisto ensure proper accounting forall keys.
- An employee has a unique employee number, a name, a position, andanoptionalofficenumber.
- A buildinghasa unique building number, aname,anda location withinthecampus.
- A roomhasa room number, asize (physicaldimensions),a capacity, a numberofentrances,anda description of equipment in theroom.Because each room is locatedin exactlyonebuilding, theidentificationofaroom dependsonthe identificationofabuilding.
- Keytypes (alsoknownasmasterkeys)are designed toopenone ormorerooms.Aroommayhaveone ormorekey typesthatopenit. A key
- typehas a unique key type number, adatedesigned,andtheemployeeauthorizing the keytype.A keytypemustbeauthorized beforeitis created.
- A copy of a keytypeisknown as akey.Keys are assignedtoemployees.Each key is assignedto exactlyoneemployee,butan employee can hold multiplekeys.Thekeytype numberplusa copy number uniquelyidentifya key. Thedate thecopywasmadeshouldberecordedin thedatabase.
- Afterreviewingyourinitial design, the physicalplantsupervisordecidestorevisethe requirements.Make aseparate ERDtoshowyourrefinements. RefineyouroriginalERDtosupportthefollowing new requirements:
- Thephysicalplantsupervisorneedstoknow not only thecurrentholder of a keybutthepastholdersofakey.Forpastkeyholders, the date rangethata keywasheldshouldberecorded.
- Thephysicalplantsupervisorneedstoknowthecurrentstatusofeachkey:in useby anemployee,instorage, orreportedlost.Iflost, the datereportedlostshouldbestored.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started