Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Apply MySQL Workbench to create the following car dealer data model. A person has many cars. The person has an identification, lastname and

image

1. Apply MySQL Workbench to create the following car dealer data model. A person has many cars. The person has an identification, lastname and firstname. The car has an identification, car cost, car sell, and car type. (25 points) PERSON "personid persfname persiname CAR "carid carcost carsell cartype Save as BMIS320L_Your Name_Model_A1.mwb 2. Write the create table statements for the car dealer data model. (25 points) Save as BMIS320L_Your Name Tables_A1.sql 3. Answer the following queries based on the database for a car dealer. a. What was the maximum selling price of any car? (10 points) b. Report the number of cars sold of each type. (10 points) c. List details of all sales showing the gross profit (i.e. selling price minus cost price). (10 points) d. What is the average selling price of cars sold by Sue Lim? (10 points) e. Report the gross profit made by each salesperson who sold at least three cars. (10 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

To create the car dealer data model in MySQL Workbench you can follow these steps Step 1 Open MySQL Workbench and connect to your database server Step ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Programming questions

Question

What is recovery?

Answered: 1 week ago

Question

What is an OODBMS?

Answered: 1 week ago