This document provides instructions for a database design lab assignment. Students are asked to:
1) Identify the primary and foreign keys for tables in two sample databases - a products database and a car database.
2) Draw a data access diagram for the car database, labeling primary keys in bold and foreign keys underlined with lines connecting them.
This document provides instructions for a database design lab assignment. Students are asked to:
1) Identify the primary and foreign keys for tables in two sample databases - a products database and a car database.
2) Draw a data access diagram for the car database, labeling primary keys in bold and foreign keys underlined with lines connecting them.
This document provides instructions for a database design lab assignment. Students are asked to:
1) Identify the primary and foreign keys for tables in two sample databases - a products database and a car database.
2) Draw a data access diagram for the car database, labeling primary keys in bold and foreign keys underlined with lines connecting them.
Brightspace Submission: Save as LastnameLab1 (substitute your last name) and submit to drop box.
I. Refer to Figure 1: Premiere Products Database on next page.
a) Fill in the Primary Key and Foreign Key for each table shown below: Primary Key (PK) Foreign Key (FK) Table Name (must be one, unique) (may not be, label None or list) REP RepNum None CUSTOMER CustomerNum RepNum ORDERS OrderNum CustomerNum ORDERLINE OrderNum, PartNum OrderNum PARTS PartNum PartNum
II. Refer to Figure 2: Car Database on next page.
a) Fill in the Primary Key and Foreign Key for each table shown below: Primary Key (PK) Foreign Key (FK) Table Name (must be one, unique) (may not be, label None or list) Location LocationCode None Car VehicleID LocationCode Purchase CustomerID, Vehicle ID VehicleID Customer CustomerID CustomerID b) From the Car Database, create a Data Access Diagram. Label the PK in bold and the FK underlined. Draw lines between PK and FK. Can be created and copied from another program. Label each entity. Figure 1: Premiere Products Database (some sample data shown)