Database Design, Entity Relationship Diagrams ERD and Tables

Pet Database Design

ABC apartments has a one pet limit per apartment and they charge a nonrefundable deposit for the pet.  ABC wants to retain information about each pet and where it lives.  They do not allow a pet to be shared between apartments (in other words, a pet can’t live in different apartments).  So the rules for ABC are that an apartment may only have one pet and a pet may only live in one apartment.  Draw an ER Diagram for this model.  Then map you ER Diagram to a set of tables.  Be sure to include a reasonable set of attributes (ie. ApartmentNo, ApartmentBldg, PetID, PetName…)

Recipe & Ingredients Database Design

A recipe is made up of many ingredients but those ingredients may also be used in many different recipes.  Recipes have a have a recipe number, recipe name [and many other attributes which you do not need to show].  Ingredients have an Ingredient id and ingredient name [and many other attributes you do not need to show].  Draw the ER Diagram and Map to Tables

Actors and Play Database Design

Actors act in Broadway Plays.  But an actor must have a contract that specifies their start date and salary before they can perform in the play.  Each actor has a unique Screen Actors Guild number.  Other data kept about an actor includes name, age and gender.  Plays have a name and genre.  Draw the ER Diagram and then map the diagram to a set of tables

KSU Volleyball Team Database Design

The KSU Volleyball team needs to maintain information about teams they play and the players on those teams.  A team is made up of many players.  Teams are known by their team number and team name.  Players are assigned an Id and a position and are also known by their name.  The ER Diagram is shown

Fast Food Restaurant Database Design

A fast food restaurant offers various Meal deals.  Each meal deal is considered a menu item and is made up of many other menu items and those items may be in many different meal deals.  Map the following ER diagram to tables.

Database Normalization

Normalize the following to 3NF
Dept#, Cust# -> DeptName, Location, MgrID, MgrName, CustName, ComDate, Complaint
Dept# -> DeptName, Location,MgrID
MgrID -> MgrName
Cust# -> CustName

Get Project Solution Now

Comments