create a working mini-database system from a user’s basic requirements. SQL DDL and DML must be used to create, populate and update tables.   This database is for a typical Columbus car dealership. We will keep track of all the cars on the lot. For each car we will track the model ( modelA, modelB, modelC or make up your own), the list price, a status (available, sold) and a list of options the car has. A car may have more than one option (you may make these up, example: sun roof, power windows, …).. When the car is sold, we will keep track of the date, and the name of the salesman that sold the car. For each salesman, we will keep track of their name, gender, salary, and total amount sold.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The purpose of this activity is to create a working mini-database system from a user’s basic requirements. SQL DDL and DML must be used to create, populate and update tables.

 

This database is for a typical Columbus car dealership. We will keep track of all the cars on the lot. For each car we will track the model ( modelA, modelB, modelC or make up your own), the list price, a status (available, sold) and a list of options the car has. A car may have more than one option (you may make these up, example: sun roof, power windows, …).. When the car is sold, we will keep track of the date, and the name of the salesman that sold the car. For each salesman, we will keep track of their name, gender, salary, and total amount sold.

 

Expert Solution
Step 1

The requirement is to use DDL and DML to create, populate, and update the tables.

So as per the need, we have used queries insert into, create table, update table.

When the car is sold, we need to keep the track of the date, name of the salesman that sold the car.

So, this table will have two foreign keys, one will be the primary key of the car table i.e. car model name and the other will be the primary key of the salesman table i.e the name of the salesman. 

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Database Environment
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education