It's UWAweek 47

help1402

This forum is provided to promote discussion amongst students enrolled in CITS1402 Relational Database Management Systems.

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.

How do I ask a good question?
Displaying selected article
Showing 1 of 684 articles.
Currently 141 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
9:39am Wed 11th Sep, Mia S.

In the case study, it mentions that tariff type and depot should be recorded when a vehicle is hired - am I correct in thinking that these are foreign keys in the Hire entity (which connects Vehicles and Clients) and hence we shouldn't write them into the Hire attributes on the diagram or in the data dictionary? I'm assuming you'd record the id code of depot and tariff type so they would be FKs in Hire. Also, is there no need to connect the Hire entity with the Depot and Tariff Type entities directly seeing as Hire is connected to Vehicle which is in turn connected to Depot and additionally Vehicle connects to Make which connects to the Tariff Type entity? The case study also mentions that the odometer reading of a car is recorded when the car is hired - should 'odometer reading' then be written as an attribute in Hire, seeing as it is not a PK of Vehicles? Is hire time and date a single-valued attribute of type 'date'? Are type (EV, hybrid, fuel) and make different? Are hirers and clients the exact same? I have a composite key made up of two foreign keys A and B - can I write the composite key in its entity as A{PK} B{PK} in my diagram? And I'm guessing this composite key should be in the data dictionary. How should subclasses be expressed in the attributes data dictionary? Should we list them under the Entities column as usual but in their attributes only mention the attributes unique to that subclass? I'm guessing I should given an indication in the dictionary that they are a subclass of another entity as well. Thank you very much in advance.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy