Lab_4_Answers (1)

docx

School

Algonquin College *

*We aren’t endorsed by this school

Course

8215

Subject

Economics

Date

Feb 20, 2024

Type

docx

Pages

3

Uploaded by MegaRainLyrebird35

Report
Lab 4 – Answer the following questions and upload this file along with the ER diagram Referring to the Describing Relationships section in the Relationships and Cardinality page in Module 4, describe the relationships. Note: you will produce four sentences describing the relationships Name each table and the column making up the primary keys Name the table and the colum making up the foreign keys What’s the relationship type between car_ vehicle_class and fuel_consumption What’s the relationship type between car_make and fuel_consumption a brand of car (car_make) has many amounts of fuel consumption. a vehicle class has many amounts of fuel consumption. a fuel consumption belongs to one vehicle class. A fuel consumption belongs to one car brand 1. Car_vehicle_class : columns are class_id, vehicle_class / Primary key is class_id 2. Fuel_consumption: colums are fuel_consumption_id, make_id, class_id, fuel_consumption / Primary key is fuel_consumption_id 3. Car_make: colums are make_id, make / Primary key is make_id 1. Car_vehicle_class: foreign key is vehicle_class 2. Fuel_consumption: foreign keys are make_id, class_id, fuel_consumption 3. Car_make: foreign key is make Table car_vehicle_class has a one to many relationship to table fuel_consumption Table car_make has a one to many relationship to table fuel_consumption
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help