Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 . Consider the following set of simplified requirements for a LOL database that is used to keep track of the interactions between heroes,
Q Consider the following set of simplified requirements for a LOL database that is used to keep track of the interactions between heroes, skills and equipments.
i Each hero has a unique hero ID hero name, gender, and email. Each hero must own several skills. A hero may buy several equipments.
ii Each skill has a unique skill ID and a skill name. A skill may be owned by only one hero. A skill may be supported by an equipment.
iii Each equipment has a unique equipment number, subject and content. An equipment may be bought by several heroes. An equipment can be used to support several skills.
a Draw an ER EntityRelationship diagram for this application. You need to clearly indicate the cardinality ratio ::N or M:N and participation constraints total or partial of each relationship. State clearly any additional assumptions you make
b Map the ER schema into the corresponding relational database schema diagram. Specify all the primary keys and foreign keys.
iv Suppose that Heroes can be distinguished as godHeroes and blackHeroes. The database records the number of "like" for God heroes and the number of "unlike" for blackHerores, respectively. Please draw the EER model.
c Modify the ER schema in a according to the above requirements, using ER and Enhanced ER concepts of specialization and generalization. You need to clearly indicate the disjointness and completeness constraints. State clearly any additional assumptions you make
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