A trucking company has trucks and drivers and wants to build a database to track truck activity. Each truck is identified by a VIN (Vehicle ID Number) which is 10 characters long. The database also stores the make, model and year of the truck. Drivers are identified by SSN (Social Security Number) which is 9 characters long. The database also stores first name, last name and address of each driver. Trips are also stored in the database. Each trip has one truck making the trip, one driver, date of trip, and total miles covered. Any driver can be assigned to any truck. Write the tables and attributes you would need to have in your database to track this information. Draw the tables and attributes using the format, underlining the primary key (or otherwise showing what the primary key is): TABLENAME1(FIELD1, FIELD2, .. ,FIELDN) TABLENAME2(FIELD1, FIELD2, .. ,FIELDN)
- A trucking company has trucks and drivers and wants to build a
database to track truck activity.
Each truck is identified by a VIN (Vehicle ID Number) which is 10 characters long. The database also stores the make, model and year of the truck.
Drivers are identified by SSN (Social Security Number) which is 9 characters long. The database also stores first name, last name and address of each driver.
Trips are also stored in the database. Each trip has one truck making the trip, one driver, date of trip, and total miles covered. Any driver can be assigned to any truck.
Write the tables and attributes you would need to have in your database to track this information. Draw the tables and attributes using the format, underlining the primary key (or otherwise showing what the primary key is):
TABLENAME1(FIELD1, FIELD2, .. ,FIELDN)
TABLENAME2(FIELD1, FIELD2, .. ,FIELDN)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps