I know the basic rules for each step but i find them very confusing when i have to apply them. I'm working on this example right now
This table is used for a car hiring company. Customers can hire cars from different outlets, a particular car is available at a particular outlet only and can only be hired to one customer on a given date. The 1nf table has fields:
CarReg, HireDate, Make, Model, CustNo, CustName, OutletNo, OutletLoc
Primary keys are (carReg, HireDate)
Can someone please talk me through converting this to bcnf step by step? and the results produced at every step? thanks
My answers:
2nf
CarReg, HireDate, Custno, CustName (pk: CarReg, Hiredate)
CarReg, Make, Model, OutNo, outLoc (pk: CarReg)
3nf
CarReg, HireDate, CustNo (pk:carReg, HireDate)
CustNo, Custname (pk:custNo)
CarReg, Model, OutNo (pk:carReg)
Model, Make (pk: model)
OutNo, outLoc (pk: OutNo)
Are my answers right? and how do i convert this to bcnf?