It's UWAweek 48

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?
Showing 20 of 684 articles
Showing page 14 of 35⬅ older  |  newer ⮕
Currently 2 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 4:52pm Wed 2nd Oct, ANONYMOUS

Hi, in the part 2 spec, it states that "You may also submit an assumption and clarification document...", while "Moodle - Project 2 Submission" only have "Project 2 (code in text file)" and "Relations" for us to upload documents. May I know where sho...


SVG not supported 3:38pm Wed 2nd Oct, ANONYMOUS

In the lecture on 9th September you mentioned "I'll have a look at your ER model and marks will be deducted if there are no composite attributes". I just got spooked by that so I'm just wanting to confirm that the 20 total potential grade that we can...


SVG not supported
Invoice 👍x3  (both)
3:28pm Wed 2nd Oct, Mia S.

When I spoke with a lab facilitator they said we could just write it in as a regular attribute.


SVG not supported 12:50pm Wed 2nd Oct, Henry Y.

Thanks, I understand you're explanation and while I agree with the way you have explained it I still find it odd that the depotid is done the way it's done. Because there was no assumption made that the vehicles might be picked up and dropped off to ...


SVG not supported 12:49pm Wed 2nd Oct, ANONYMOUS

but the HiredVehicle is identified by (clientID, startDate), or (regNum, startDate), and one client can only hire one car on the same day. (according to Case study).


SVG not supported 11:02am Wed 2nd Oct, Mia S.

Hi, I'm a student in the unit. It seems that there should be two foreign keys in HiredVehicle both referencing depotID - one for the depot the vehicle was picked up from and one for the depot it will be returned to. There would be no point to recordi...


SVG not supported 9:52am Wed 2nd Oct, ANONYMOUS

Can we create links in the ER model, or can it not be changed


SVG not supported
Invoice 👍x3  (both)
9:49am Wed 2nd Oct, ANONYMOUS

How do you represent finalcost in the logical model since it is a derived attribute. But it is in no way connected to the rental price or the days (since they are not primary keys of their own entities)


SVG not supported 9:45am Wed 2nd Oct, Seonghyeon L.

Problem solved I ended up using python to generate CREATE TABLE and INSERT Statement.


SVG not supported 9:27am Wed 2nd Oct, ANONYMOUS

Hey guys , in project part 1 in the announcement its specified that we can work in pairs and submit the same thing but isnt specified if we can do that in part 2 and we are still under the assumption that we can do that part 2. Are we allowed to work...


SVG not supported 11:56pm Tue 1st Oct, Hafiz A.

while checking Depot table for normalization, have following questions - Postcode depends on street address. and street address is linked to DepotID. does this mean there is a transitive dependency here? should I move address to a new table and then l...


SVG not supported 11:33pm Tue 1st Oct, Hafiz A.

considering practicality of implementation, i would have a combined table with following attributes OwnerNo OwnerType OwnerName 001 Private Joe D 002 Business XYZ PTY LTD 003 Private James and will use OwnerNo as foreign k...


SVG not supported 10:59pm Tue 1st Oct, Hafiz A.

while I was putting dummy data in each of the table to verify - if the table is in 3NF - if the Primary Key need to be changed; for Vehicle Type table, I can see Make Model are taken as composite primary keys, but I can use duplicate values in each of...


SVG not supported
mid semester Q9 👍x1  (all 3)
9:48pm Tue 1st Oct, Hafiz A.

ANONYMOUS wrote BranchID wont be unique in some cases. so this alone cannot be a candidate key. imagine having multiple people from same branch appearing in this table of yours.


SVG not supported 9:34pm Tue 1st Oct, Mia S.

We were sent an email with the information.


SVG not supported 8:58pm Tue 1st Oct, Mia S.

Hi, Mehwish replied to a post asking about the unspecified data types lengths; She said you can make your own assumptions. The forum post I was referring to is "Project 2 - Data Type Clarifications for Client, Vehicle Type, Vehicle, Insurance, Hired...


SVG not supported 8:53pm Tue 1st Oct, ANONYMOUS

HI, I cannot find the specification of clientID and Insurance policy number like length of string or length of number. It's "generated" according to the documentation. Do we have suggested type of these data items? Thanks


SVG not supported 8:44pm Tue 1st Oct, Mia S.

You have to specify that a primary key is not null manually. From the SQLite docs (https sqlite.org lang createtable.html the primary key) "According to the SQL standard, PRIMARY KEY should always imply NOT NULL. Unfortunately, due to a bug in some...


SVG not supported 7:32pm Tue 1st Oct, ANONYMOUS

Trying again... I am confused as to why Invoice and HiredVehicle has a 1.. relationship. My understanding is that HiredVehicle stores every current and past rental. Since clients can only rent one vehicle at a time, wouldn't there only ever be one in...


SVG not supported 7:27pm Tue 1st Oct, ANONYMOUS

Hi, I am confused as to why

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