Question

Create a series of ER Diagrams using MySQL Workbench. Each question below is a different version...

Create a series of ER Diagrams using MySQL Workbench. Each question below is a different version of the same database, with each version increasing in complexity. You need to submit an ER diagram for each version, in pdf or png format. The easiest would be to export your diagrams as png format and insert them into an MS Word document.

For each ER diagram clearly indicate primary keys, foreign keys, and relationships, including cardinality (i.e. 1-to-many). Indicate in your diagram that all relationships are mandatory. Since we have not studied data types in detail, you will not be assessed on which data type you choose, although certainly try your best.

The database will store data about patients receiving drugs in a clinical trial.

  1. This is version 1.
    Patients have the following attributes: patient_id, first name, last name, DOB and gender.
    Drugs simply have a name.
    Patients can receive >1 drug.

    Hint: Your design should have two tables.
  2. This will be version 2 of the database. Modify your design to include the following requirements:

    Drugs have the following attributes: drug_id, drug_name, and manufacturer_name.
    Patients can receive >1 drug.
    Each drug is administered to >1 patient.

    Hint: This is an example of a many-to-many relationship. Review the readings to resolve this issue.
  3. This will be version 3 of the database. Modify your design to include the following requirements:


For each drug administration, also store drug-dosage and date.

Hint: This does not require additional tables; the question is where to add these new attributes.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If you have any doubts, please give me comment..

Add a comment
Know the answer?
Add Answer to:
Create a series of ER Diagrams using MySQL Workbench. Each question below is a different version...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A small surgery center needs your help to create a database. The office manager has identified...

    A small surgery center needs your help to create a database. The office manager has identified the following types of data (entities): patients, doctors, procedures and appointments. Please identify the attributes and primary keys needed for each of the entities. Identify the data types you would use for each of the attributes. Determine the relationships between the entities and find the one-to-many and many-to-many relationships. Use the ER matrix to determine the relationships. Create an ER diagram using Visio based...

  • Q3: You have been hired to design a database for prescriptions for RX pharmacies and your...

    Q3: You have been hired to design a database for prescriptions for RX pharmacies and your first job now is to design an ER model for this database using the following description of that world. i. patients are identified by their SSN and have other attributes as names, addresses, and ages. ii. Doctors are identified by their SSN and have other attributes as names, specialty, and years of experience. iii. Each pharmaceutical company is identified by name and has a...

  • Design ER diagrams for the three problems below based on the information given. Use Visio or...

    Design ER diagrams for the three problems below based on the information given. Use Visio or another drawing program: I will not grade hand-drawn diagrams. Your diagrams will include entities, attributes, relationships, candidate keys (PKs), and cardinality and participation constraints. Use the style of ER notation shown in the ER slides (also in Elmasri & Navathe, 6th edition, Figure 7.2 and Figure 7.14). Be sure to use good naming practice with your entities, relationships, and attributes. If you make any...

  • Instructions: You are required to create ERD and Enhanced ERD diagrams. And also translate your own...

    Instructions: You are required to create ERD and Enhanced ERD diagrams. And also translate your own created ERD & EERD diagrams in to Relational Model. Q# 1: Draw ER diagram based on the following database requirements. A Tutorial class may have one or more students. A student may be in one or more classes. Attributes of CLASS includes CLASS CODE, ROOM NAME and CLASS SIZE. Attributes of STUDENT include STUDENT ID, NAME and NATIONALITY. Translate your ER diagram in to...

  • Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage ...

    Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage data for athletes athletic game. Requirements are as follows: Each participating team has a name and a manager. Each athlete has a unique athlete ID, and is also described by first name and last name, gender and age. A team has many athletes but an athlete only belongs to one team. Each sport has a unique code and some sport name....

  • Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram ...

    Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram like the following: Please answer the following questions. Explain your answer. 1. Convert the ER diagrams to relational tables. 2. Specify primary keys and foreign keys in each table. For foreign keys, specify which primary key it references to. 3. Please create the tables in SQL for the relational tables in our ER diagrams. You also need to define primary keys and foreign...

  • Use MySQL Workbench to create a simple ER model and use the Forward Engineering functionality of...

    Use MySQL Workbench to create a simple ER model and use the Forward Engineering functionality of Workbench to create a simple DB (specs follow). This focuses on how MySQL Workbench is used to create a model and then a DB from it, rather than on ER modeling. The sample model you are to create is on books, authors, and publishers - a model that could be part of a larger ER model for a library. A book has an ISBN...

  • 3. (12 points) For each of the descriptions below, develop an ER diagram using draw.io. Create...

    3. (12 points) For each of the descriptions below, develop an ER diagram using draw.io. Create a new page in your draw.io file for each diagram and name them appropriately (e.g., “3a” and “3b”). Include entities, attributes (identifier, simple, composite, derived), relationships (cardinality, modality). a. A car company has a database where each car has an identifying serial number and a manufacturing completion date. Each car is an example of a certain model. All models have an identification number, name...

  • please use dia to draw the e-r diagram to create Entity - Relationship Diagrams then use MS access This project requires you to create a database design. Your design will be documented in a set o...

    please use dia to draw the e-r diagram to create Entity - Relationship Diagrams then use MS access This project requires you to create a database design. Your design will be documented in a set of Entity-Relationship Crow's Foot diagrams using the representation as shown in the lecture materials. Draw a set of Entity-Relationship diagrams to model the following scenario. The Maggs Realty Company wants to track the Sales Offices that they have across all of Ontario They are interested...

  • please help me with this assignment Assignment: Create an entry level EHR system for a clinic...

    please help me with this assignment Assignment: Create an entry level EHR system for a clinic Requirements: Software Microsoft Access 2010 Tables Minimum Required Tables: Patient Table Visit Table Prescription Table Patient Education Table Make sure you create the appropriate relationships between these tables. Minimum Required Fields: Patient Table: Patient_ID, First_Name, Last_Name Social_Security_Number, Address, Birthdate, Insurance_Provider, Insurance_Policy_Number Visit Table: Visit_ID, Patient_ID, Visit_Date, Diagnosis_ID, Visit_Notes Prescription Table: Prescription_ID, Patient_ID Prescription_Date, Drug_Name, Refills, Generic_Allowed, Pharmacy Patient Education Table: Diagnosis_ID, Disease_Name, Education_Notes Notes:...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT