Question

You were requested to design a database to store the data concerning a large mechanic shop....

You were requested to design a database to store the data concerning a large mechanic shop. Your database has to store the following: For each car, you want to store the make, model, year, color, engine info, license plate, VIN (vehicle identification number), and a field for general notes. Additionally, for each car, you need to keep information about the owner. For each owner, you need to store the client ID, the name, address information, phone number, and email. An owner may have multiple cars. For simplicity, suppose that a car has only one owner. The database also has to keep information about the mechanics that work on the shop. For each mechanic, you need to store his or her mechanic ID (assigned by the shop and which is unique), name, address information, and phone number. A car goes to the shop multiple times, and the database needs to store all relevant information about each service. For each service, you need to store the date, the car’s mileage, number of hours the service took, and a field for general comments (like the kind of work was done in the car, etc.). For each service, the database also needs to store the mechanic that performed the service. Suppose that only one mechanic is responsible for each service. Assume you do wish to use a separate zip code table in the database.

a) Design a database to hold all this information. You may create synthetic keys as necessary or convenient. Hand in a database design outline and an ER diagram. Advice: First, forget the zip code table: create the tables and the relationships assuming you do not have a zip code table. Then, when you think what you have is correct, bring the zip code table: for every table that needs an address, “link it” to the zip code table with a relationship.

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

Below is the ER diagram of the given scenario. It consist of 5 entities connected via 5 relationships. Each entity has certain set of attributes as mentioned in the description and primary key of each entity is mentioned as underlined attribute.

The zipcode table is created separately and is lined with Owner and Mechanic table.

Cardinality is shown using crow's foot notation in ERD.

Add a comment
Know the answer?
Add Answer to:
You were requested to design a database to store the data concerning a large mechanic shop....
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
  • Sample data is provided for the database for the sales system. Using the sample data, you...

    Sample data is provided for the database for the sales system. Using the sample data, you will determine the entities, key components of the entities, and business rules for the entities. Using the entities and business rules you will then create an ERD. Tasks: 1. For each entity provide the name, description, fields, data type, primary key, and foreign key. 2. For each direct entity type pair, provide the business rules. 3. Provide the ERD. Customer Table Customer ID, Last...

  • I already did the assignment. Just please help me check it right or wrong Question: Jorge’s Home Services LLC (JHS) is...

    I already did the assignment. Just please help me check it right or wrong Question: Jorge’s Home Services LLC (JHS) is a home improvement retailer in Northern Virginia. JHS does not employ installers, but rather subcontracts the installations out to a list of approved installers. Whenever a customer comes to the store to request an installation service, a JHS agent will help create a contract for the installation and instantly assign an installer to the job. Afterwards, the installer will...

  • You are asked to design a data model for The Wagging Tail, an online store that...

    You are asked to design a data model for The Wagging Tail, an online store that sells products for dogs, e.g. dog collars, dog food, dog toys, dog treats, etc. You want to keep track of three entities: (1) the products that the store sells, (2) customers who purchase the products, and (3) the orders that are made on the website. Draw an ERD diagram and use the following information to help guide your drawing: The database should keep track...

  • A database used for a toy store that keeps track of the inventory and purchase orders...

    A database used for a toy store that keeps track of the inventory and purchase orders from the store. All clients will have their membership ID card to shop. This database will help the store to keep track of their orders. It will also help the store to know how many products are available in the inventory. It is necessary to have a membership to purchase a product. The customer can also bring coupons to get discount. Key attributes: Salesman:...

  • A database used for a toy store that keeps track of the inventory and purchase orders...

    A database used for a toy store that keeps track of the inventory and purchase orders from the store. All clients will have their membership ID card to shop. This database will help the store to keep track of their orders. It will also help the store to know how many products are available in the inventory. It is necessary to have a membership to purchase a product. The customer can also bring coupons to get discount. Key attributes: Salesman:...

  • Suppose a local college has tasked you to develop a database that will keep track of...

    Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors teaching each of the courses. Database Design Diagram Use any drawing package or any other application you know such as Visio, Word, PowerPoint, or another tool to create the Database Design Diagram. Otherwise, you may draw the...

  • John owns a portfolio of rental properties with his parterns. He wants to develop a database...

    John owns a portfolio of rental properties with his parterns. He wants to develop a database to store property information as well rental data. Below are some of the data that need to be kept track of. For each property, the database needs to store property address, size, number of rooms and bathrooms, and purchase date. There are two types of properties – single family house and condo. Need to store yard size for single family house and monthly HOA(Home...

  • First, draw an EER that models the given requirements. You will play with the Bank Database...

    First, draw an EER that models the given requirements. You will play with the Bank Database in this homework. Please download and execute the bank.sql from Canvas to create this database in your MySQL system. Please submit the results as a zip file with a name <yourname>-bank.zip. Consider modeling a bank: . The bank keeps personal information of each customer including name, sex, address, phone number, social security number, and date of birth. . Each customer owns one or more...

  • 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...

  • Programming Assignment This is a database course using Open Office Database. Assume that you have been...

    Programming Assignment This is a database course using Open Office Database. Assume that you have been given the task of creating a system for a library to keep track of their books, the borrowers of the books, and the books that are currently lent out. Your first step will be to create the relations necessary for this system. Book will need information such as a unique identifier for each book, title, author, ISBN number, date of publication, cost. Borrower will...

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