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
  • Create an Entity relationship diagram and write a databased design outline for the following: 1. You...

    Create an Entity relationship diagram and write a databased design outline for the following: 1. You want to keep track of sales team’s current sales activity. For each salesperson, you want to store unique employee ID, first name, last name, home address information, phone number, and email address. Your customers are typically retails stores and, for each customer, you want to store customer ID, name of business, phone number, address information and salesperson’s information. Also, for each customer, you want...

  • Database Design The State of Connecticut has contracted you to build a database for their bookstores....

    Database Design The State of Connecticut has contracted you to build a database for their bookstores. The State of Connecticut operates twelve Community College Bookstores where they currently store information about the Colleges, Publishers, Authors, and Books. You have been given the task of automating the antiquated process that the bookstores currently use. Each one of the twelve Community Colleges has a unique College ID, a College Name, College Address and Bookstore Employees. After talking with the bookstore employees and...

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

  • 2. Design an ER-diagram for a bank that implements the following requirements. The database you design...

    2. Design an ER-diagram for a bank that implements the following requirements. The database you design should store information about customers, accounts, branches and employees • Customer: Customers are identified by their SSN. For each customer we store a name, multiple phone numbers (one or more), and an occupation. • Account: Accounts are identified by an account number and the branch they belong to. For each account we store a balance and the type of account (e.g., savings). – An...

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