Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A Donor with the following attributes: Donor ID, Name, Date of birth, Gender, Address. A Blood unit donated by a donor. The blood unit attributes

A Donor with the following attributes: Donor ID, Name, Date of birth, Gender, Address. A Blood unit donated by a donor. The blood unit attributes are blood code (unique), blood amount, donate date, blood type. Search Internet for blood types when populate the database. A Blood bank: blood bank ID, address. A blood bank manager is assigned to each blood bank. A manager can only be assigned to one blood bank. The blood bank manager attributes are manager ID, name, phone number. Hospitals always use blood from one assigned blood bank, and a blood bank can provide blood to several hospitals. The hospital attributes are hospital ID, name, address, email. A donor can donate blood in several blood banks, and at least one donor donates blood to a blood bank. Your assignment consists of 3 parts: Part 1. Conceptual Mode Please remember that the Enhanced Entity-Relationship diagram is only a part of your assignment. You need to describe the Conceptual Model, which must include the following elements: Entities and their attributes. For each entity you must also specify unique identifier attribute(s) Entity supertypes and subtypes. Describe inheritance types and the corresponding discriminators. Identify multi-valued, derived, and composite attributes (if any). In this case, they need to be shown in the ER diagram with the corresponding notations. Describe relationships between entities and their cardinalities. Remember that relationships can be one-to-one, one-to-many, many-to-many. They also can be optional or mandatory. Draw the Conceptual Model Enhanced Entity-Relationship diagram using app.diagrams.net tool, save it as .png or .jpg file and insert it in the assignment Word document Part 2. Logical (Relational) Model Describe the algorithm of conversion of the Conceptual Model into the Logical Model. Remember that your description should include the following elements: Entities in the Conceptual Model become relations (tables) in the Logical Model, and unique identifiers become primary keys. For one-to-one or one-to-many relationship between two entities you will need to create a foreign key in one of the relations (tables). If there is a many-to-many relationship between two entities, then you will need to create a new relation (table) with a composite primary key. For each field (column) in a relation, describe a data type (integer, float, character, text etc.). If an entity contains a multi-valued attribute, then you will need to create a new relation in the Logical Model corresponding to this attribute. Draw the Logical Model diagram using app.diagrams.net tool, save it as .png or .jpg file and insert it in the assignment Word document. Part 3. Physical design. Using the database schema developed in the Part 2, create a database in MS Access, MySQL or SQLite Browser: Write and run SQL queries to create tables. Populate the tables with sample data. Write SELECT SQL queries to test the database. Your submission should consist of the following files: Your submission should consist of the following files: MS Word document containing answers to the Parts 1 and 2. If you use MySQL database, then you also need to o copy the queries in the MS Word document. o include in the MS Word file screenshots of the XAMPP MySQL environment with queries and results of running these queries. o export in XAMPP the database file with queries of creating the database tables. If you use MS Access database, then you need to submit the database file with all SQL queries

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Optimization Of Logistics And Supply Chain Systems Theory And Practice

Authors: Turkay Yildiz

1st Edition

1540716198, 978-1540716194

More Books

Students also viewed these General Management questions