Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Instructions: You may draw the diagrams using any program. HOWEVER, the constructs must conform to the Crow’s Foot diagramming conventions.

1.  For problem 1, turn in 3 ER diagrams.

a. Draw an ERD containing Patient, the Physician and Visit entity types connected by 1-M relationships from Patient to Visit and Physician to Visit.  Choose appropriate names for the relationships. Define minimum cardinalities so that Patients and Physicians are mandatory for a Visit but Visits are optional for Patients and Physicians. For the Patient entity type, add attributes PatNo (primary key), PatFirstName, PatLastName, PatStree, PatCity, PatState, PatZip and PatHealthPlan. For the Physician entity type, add attribues PhyNo (primary key), PhyFirstName, PhyLastName, PhySpecialty, PhyPhone, PhyEmail, PhyHospital, PhyCertification. For the Visit entity type, add attributes VisitNo (primary key), VisitDate, VisitPayMethod, and VisitCharge.  You do not need to specify datatypes.

b. Draw a second ERD. Extend the ERD from 1.a. with the Nurse, the Item and the VisitDetail entity types connected by 1-M relationships between Visit to VisitDetail, Nurse to VisitDetail, and Item to VisitDetail.  VisitDetail is a weak entity with the 1-M relationship from Visit to VisitDetail an identifying relationship. Choose appropriate names for the relationships.  Define minimum cardinalities so that a Nurse is optional for a VisitDetail, an Item is mandatory for a VisitDetail, and VisitDetails are optional for Nurses and Items.  For the Item entity type add attributes ItemNo (primary key), ItemDesc, ItemPrice and ItemType.  for the Nurse entity type, add attributes NurseNo (primary key), NurseFirstName, NurseLastName, NurseTitle, NurseSpecialty, NursePhone and NursePayGrade.  For the VisitDetail entity type, add attributes for the DetailNo (part of the primary key), and DetailCharge. 

c. Draw a third ERD. Refine the ERD from 1.b. with a generalization hierarchy consisting of Provider, Physician and Nurse entity types.  The supertype of the Generalization hierarchy is the Provider.  The primary key of Provider is ProvNo, replacing the attributes PhyNo and NurseNo.  The other attributes in Provider should be the attributes in common between Physician and Nurse (rename them to be consistent with the Provider entity type).  A provider must be either a Nurse or a Physician but cannot be both.

d. Check your diagram for violations of the completeness and consistency rules (Table 5.4).  Now, draw a fourth ERD to modify your diagram to add violations of Completeness Rule 3, and of Consistency Rules 3, 8 and 9.   Make a list of those violations.

2.  “Read” the relationships of the following diagram, being sure to include in the statements phrases to express both minimum and maximum cardinality for each relationship.

501_Relationships.jpg

3. Convert the following  Generalization–Specialization diagram into relational tables.  Show THREE different ways that you can do this. Show the table SCHEMAS but NOT the CREATE TABLE statements. 

119_Relationships_1.jpg

4.  Convert the following diagram into relational database tables.  You do not need to list the conversion rules. Show the table SCHEMAS but NOT the CREATE TABLE statements. 

2153_Relationships_2.jpg

5. Convert the following diagram  into relational database tables.  You do not need to list the conversion rules.  Show the table SCHEMAS but NOT the CREATE TABLE statements.

1120_Relationships._3jpg.jpg

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91347

Have any Question? 


Related Questions in DBMS

Database illustrationwritting from scratchdirections be

Database Illustration Writting from scratch. Directions: Be sure to make an electronic copy of your answer before submitting it to Ashworth College for grading. Unless otherwise stated, answer in complete sentences, and ...

Databaseplease read carefully and if u sure u can do it

Database Please read carefully, and if u sure u can do it email me., please Design a database (entity and relationship tables in Access) for a small college department library. You should have the entities and relationsh ...

A quick guide to pivot tables is found at the end of this

A "Quick Guide to Pivot Tables" is found at the end of this document. Review it BEFORE beginning the questions. The data for this exercise (structured as a flat file) can be found in an Excel workbook located on Blackboa ...

Database design continueduse the attached database to

Database Design Continued Use the attached database to complete the following assignment: You will be modifying the frmMainMenu to call the caption of each button from the table MainMenu and form or the report. 1) Create ...

Brief-the aim is that your team should produce a

Brief- The aim is that your team should produce a requirements document that describes the problem to be solved and captures the requirements for an information system that supports the needs of the vehicle pool manager ...

Stored procedures and stored functions - major assessment

Stored Procedures and Stored Functions - Major Assessment Task Background You are to create tables to store product and customer data. You will create a number of stored procedures and functions (SPFs) to insert / update ...

Database worksheetuse the attached database to complete the

Database Worksheet Use the attached database to complete the following: Create a simple excel spreadsheet with data to update the database. >>> This can hold any type of data to be used in this database In MS Access 1. C ...

Design a relational database for a video rental store the

Design a relational database for a video rental store. The store, which rents only DVDs and has no sales other than DVD rentals, has approximately 5,000 customers and approximately 1,200 DVD titles. There are 25 supplier ...

List the different types of locks used by dbms systems and

List the different types of locks used by DBMS systems and explain how they differ from each other. Additionally, suggest the suitable scenario for each of them. 400 to 500 words, at least 4 references with one website r ...

Application creating and populating a databasesuppose you

Application: Creating and Populating a Database Suppose you have a small retail store and decide to create a database to track sales. You have information about recent sales that you want to use for testing the database. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate