What would be er association relationship types


Assignment

I. Using Dia, draw the ER diagrams to represent the relationship type suggested by each of the following scenarios. You do not need to include any attributes in your ER diagrams, only the entity type and relationship types.

i. There are two entity types: nurses and patients. Each nurse treats many patients and each patient is treated by many nurses. Each patient must belong to the relationship, but nurses on vacation do not have to belong to the relationship.

ii. There are two entity types: students and professors. Professors have a set of students that they advised regarding course selection. Each student is advised by exactly one professor, but professors will typically advise many students. Some professors do not advise students at all.

iii. There two entity types: boats and people in the park. People in the park rent the boats from the park. Each person in the park can rent one boat at a time, and each boat is rented to only one person in the park. A boat may or may not be rented, and people in the park to not have to rent boats.

iv. There are three entity types: cameras, lenses, and photographs. A photograph is taken with one camera that has attached a single lens. But a camera can take many photographs using many lenses. A lens can be used on many cameras to take many photographs.

II. Consider the following ER diagram (primary keys are underlined):

1265_ER-Diagram.jpg

Create the relational database tables required to implement this ER diagram using SQL create table statements. Include primary key and foreign key constraints.

III. Consider the following ER diagram (primary keys are underlined):

1850_ER-Diagram1.jpg

Use SQL create table statements to implement this ER diagram as a set of relational database tables. Include primary key and foreign key constraints.

IV. Consider the following description of a system:

A company makes shipping products: envelopes and boxes. The company's products each have a model number, a product name, a wholesale price, and a suggested retail price. Boxes are described by three dimensions (width, height, and depth) and whether they are corrugated or not. Envelopes are described by two dimensions (width and height) and whether they are padded or not. The company produces its products at five locations. Each location produces at least one of the products, and each product is produced by at least one of the locations. The locations are described by the address (street number, street, city, state, and zip code), main office number, and an identifying number. The company's employees are identified by an employee number, a first and last name, home address, phone number, gender, and birth date. An employee works at exactly one location, but each location has many employees working there. One employee is the location director.

For the above description, answer the following questions (you are not to draw an ER diagram, simply write the required responses

i. What would be ER entity types that could be drawn from this description?

ii. What would be ER association relationship types that could be drawn from this description? Specify all entity types that belong to each relationship type.

iii. What would be ER generalization/specialization relationship types that could be drawn from this description, if any? Specify all entity types that belong to each relationship type.

iv. For each of the association relationship types, specify the cardinality and participation constraints.

v. For each of the generalization/specialization relationship types, specify whether the relation is mandatory or optional and whether the specializations are disjoint or overlapping.

V. Using the Dia tool, draw the ER diagram that represents the data model from problem IV. Include for each entity type the attributes and the primary key.

VI. Identify the relational database tables that would implement the ER diagram from problem IV. Specify the table attributes and the primary key and foreign key choices that would implement the ER diagram.

Format your assignment according to the following formatting requirements:

(1) The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

(2) The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

(3) Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: What would be er association relationship types
Reference No:- TGS03038784

Expected delivery within 24 Hours