A. Given the following table with repeating groups in braces, go from this unnormalized form (UNF)
to third normal form (3NF), showing all steps and functional dependencies used.
Does the result match the relations below?
LocationID, LAddress, LCity, LPhone,
{ RentalID, CustomerID, CName, CAddress, CPhone, DOB, Province, MasterNumber, Expiry,
VIN, Category Id, CategoryName, Manufacturer, Model, Year, Color, Prov, Licence,
Fee, CreditCard, Expiry, CCV, FuelStatus, PickupDate, PickupTime,
DropoffDate, DropoffTime, { ReturnFeeReasonNumber, Charge, Description } }
B. Use the following relational schema from Assignment 2 to generate relational algebra solutions to the queries below:
| Location | ( LocationID, Address, City, Phone ) |
| Vehicle | ( VIN, CategoryID, Manufacturer, Model, Year, Color, Province, License ) |
| Category | ( CategoryID, Name ) |
| Customer | ( CustomerID, Name, Address, Phone, DOB, Province, MasterNumber, Expiry ) |
| Rates | ( LocationID, CategoryID, DailyRate, WeekendRate, WeeklyRate, MonthlyRate ) |
| Rental | ( RentalID, CustomerID, CategoryID, VIN, Fee, CreditCard, Expiry, CCV, FuelStatus) |
| Pickup | ( RentalID, LocationID, PickupDate, Time) |
| Dropoff | ( RentalID, LocationID, DropoffDate, Time) |
| ReturnFee | ( RentalID, ReasonNumber, Charge, Description) |