Uploaded by Cube Universe

Project 4.1 Sales Schema Rationale

advertisement
Micah Harper
Dr. Osborne
Database Structures
9/12/2023
Cars Sales Schema Rationale
So, all the underlined options are our potential PKs, but Serial_no is the best choice among the
first three because it removes variability and minimizes confusion that might occur in the
database. An example of potential confusion might be that an option_name might be
potentially shared among multiple vehicles on the salesfloor. Serial_no is specific to the exact
vehicle though and makes thing more specific. Serial_No is also an FK multiple times as it occurs
in both the SALE and OPTION relations beneath CAR. Salesperson_id is both a PK and an FK as it
has a relationship with the SALE relation while also being the unique identifier for the relations.
Download