Homework Help US logo
  • My account
  • Order now
Order Now
Homework Help

Week 6 erd lab | Marketing homework help

3 min read
Posted on 
March 19th, 2023
Home Homework Help Week 6 erd lab | Marketing homework help

Week 6- Lab 

Now lets consider designing a database for the a car lot.Consider the following statements ->

  • Our car lot sells many cars every month (we have a big inventory)
  • Our car lot has many customers (everyone loves us!)
  • Our car lot has many sales persons (we are ready to help our customers)
  • Each car sale persons sells many cars a week (our prices are great)
  • Our car lot provides many mechanical services (all our mechanics are experts)
  • Our Service department has many mechanics (any mechanic would love to work here)
  • Our mechanics provide service to our customers (our repeat business is awesome)
  1. Examine the above information and determine the Entities.
  2. With each entity – determine some attributes for each entity. As a note – is there any information in the above statements that is not helpful for our database design?
  3. Now lets consider our Car Lot database design and determine the relationship of our Entities 

Using LucidChart or similar tool (Visio) to construct an ERD based on the above scenario.The approach to take to solve this problem would likely be accomplished using the following steps in your preferred ER diagraming tool

  1. Read the statements and list out the Entities
  2. Determine some attributes that each entity would have
  3. Determine the Data Types for each of the Attributes
  4. Determine and resolve the Relationship cardinality for the Entities. (Hint – there are multiple Many-to-Many relationships above. Please remember that creating an additional table to resolve is needed) You do not need to include the Data Types.

Hint for resolving a many-to-many relationship n our example, we have a Student Entity and a Course Entity. Each Student can take many Courses, and each Course can have many Student. This is a Many-To-Many Relationship.We resolve this by adding an additional table: “StudentCourse”. The table allows us to create the cardinality (relationship) between a Many-To-Many relationship.    In the StudentCourse table, CourseID is a foreign key that references the primary key in the Course table.  In the StudentCourse table, StudentID is a foreign key that references the primary key in the Student table.image6.png

Implementing many-one relationships

  • The foreign key goes in the table on the ‘many’ side of the relationship.
  • The foreign key refers to the primary key on the ‘one’ side.
  • The foreign key name is the primary key name with an optional prefix.

Submit using the PowerPoint template. Place the screenshot in your PowerPoint slide and submit the file.

Order an Essay Now & Get These Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
Homework Help US
Company
    Legal
      How Our Service is Used:
      Homework Help US essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Homework Help US does not endorse or condone any type of plagiarism.
      Subscribe
      No Spam
          © 2023 Homework Help US. All rights reserved.
          Homework Help US will be listed as ‘Homework Help US’ on your bank statement.