Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
Under Week-6 there is a pdf called SDLC (System Development Life Cycle) which was not covered in the Week-6 lecture and I cannot find the lecture recording where it was covered. Can someone tell me where to find the recording where this topic was dis...
Even if you follow the ERD the correct answer for Question 2 is b-One to Many. In the ERD it's given as Client(1..1) Hires (0.. )HiredVehicle. So it is One to Many as each client can hire 0 to MANY vehicles and each vehicle can be hired by ONE client...
But how do you even do question 8 without joining HiredVehicle and Insurance? Shouldn't the insuranceID be placed as FK in HiredVehicle allowing us to perform a join?
Hotel (hotelNo, hotelName, city)
Room (roomNo, hotelNo, type, price)
Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo)
Guest (guestNo, guestName, guestAddress)
hotelNo, hotelName( price 50(Room))
The correct option given for this is b) This ...
Hi, let's say for a certain entity the primary key could be a combination of some attributes which includes a foreign key. In ERD we are not supposed to note down foreign keys so in this case should I create a surrogate key?