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 685 articles
Showing page 27 of 35⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 5:39pm Thu 29th Aug, Mengxi L.

As you said An entity type is a broader classification that groups similar entities together, it contains structure and properties. An entity, we can see it as a single instance of entity type. In ER diagrams we can use the rectangle labeled (e.g "St...


SVG not supported 5:10pm Thu 29th Aug, Chien-An T.

Given the statement "Then group according to the creditcode for all the cases where 'EITHER' the count is greater than 2 or the city or phone is not empty." in the Question, we know that EACH of the following fulfilled SHOULD be listed 1. count(cust ...


SVG not supported 5:06pm Thu 29th Aug, ANONYMOUS

What is the best way to identify fan trap and chasm trap in ER diagram early in the conceptual modelling designing stage? Do I have to draw semantic net with some possible data to be able to identify it?


SVG not supported 3:03pm Thu 29th Aug, Harrison L.

Hello I'm having trouble distinguishing between an entity and an entity type . The textbook says that an entity is a "distinct object that is to be represented in the database". The examples of entities it gives are - Branch - Staff - PropertyF...


SVG not supported 2:52pm Thu 29th Aug, ANONYMOUS

Thanks. Ovals are not used in UML notation right?


SVG not supported 2:40pm Thu 29th Aug, Mehwish N.

It is called UML (unified modeling language). Yes a ternary relationship is represented by a diamond. However, entities are represented by rectangles. Please also make sure you know how multiplicities are represented. Cheers. ANONYMOUS wrote


SVG not supported 2:13pm Thu 29th Aug, ANONYMOUS

Hi , I just wanted some clarification. For this unit, we are only using EML notation for ER diagram right? In EML notation, do we use diamond shape ? I saw in lecture slides where ternary relationship is presented in diamond shape. Thanks


SVG not supported 1:25pm Thu 29th Aug, ANONYMOUS

I was thinking it would be SELECT creditcode, count(cust id) AS 'Number of Publishers' FROM publishers WHERE city IS NOT NULL OR phone IS NOT NULL GROUP BY creditcode HAVING COUNT(cust id) 2 ORDER BY creditcode; Am I wrong?


SVG not supported 1:23pm Thu 29th Aug, Eusha K.

Maybe because the city and phone condition arrears in the WHERE clause? (Since city and phone are column names only, not aggregate functions). As far as I understand, if there are column names in the HAVING clause, they must be in the GROUP BY clause,...


SVG not supported 11:49am Thu 29th Aug, Mehwish N.

Hi, First of all I did not create this question, but let's try to solve it together. Please see slides 33 if the lecture. The number of tuples in the resulting relation (after cartesian product is applied) are number of tuples in the first relation t...


SVG not supported 11:28am Thu 29th Aug, Mehwish N.

You can check now under week 6. Cheers


SVG not supported 11:16am Thu 29th Aug, ANONYMOUS

Hi, can you please share the solutions to the accommodation case study discussed in Monday s lecture? Thanks


SVG not supported
CITS1402 👍x2  (all 5)
11:11am Thu 29th Aug, ANONYMOUS

Hi, For our midterm and when drawing ER diagrams in general,do we have to know and use these arrows?Additionally,when writing down the multiplicity(1.. etc.) do we need to write it on top of the arrow or under the entity?Thanks for your help


SVG not supported
CITS1402 👍x2  (all 5)
11:08am Thu 29th Aug, ANONYMOUS

hi, I was doing this question and Im a bit confused on what answer is correct.When I was doing cartesian product of A,B from R and A,C from T it gives 8 tuples.However,we can also remove the 2 repeated tuples(1222 and 2222) which will give us 6 distin...


SVG not supported 10:10am Thu 29th Aug, Jason L.

I'm looking for a partner for the ongoing project. Please email me if you are interested. 23820169 is my student number.


SVG not supported 9:50am Thu 29th Aug, Mehwish N.

Hi, 1. While using sqlite, boolean datatypes are converted to integers. For this question you could have instead used an integer. 2. Pi underscore (column names), indicates which columns to display. Just writing the name of the relation without Pi mea...


SVG not supported 1:27am Thu 29th Aug, ANONYMOUS

I am looking for a partner for the project, please email me at 238 0 6 t d n . w . d . u i o r l o l o i g f r a p r n r h n s


SVG not supported 10:58pm Wed 28th Aug, ANONYMOUS

Hi, While I am practicing for the midterm exam, I have following questions 1. On worksheet 1, at the query for CREATE TABLE, I am not so sure about the type of isOwnerOccupied is BOOLEAN. As I look up on the internet, I don't think SQLite3 has type of...


SVG not supported 10:37pm Wed 28th Aug, ANONYMOUS

So the final correct would be like this ? ... SELECT creditcode, count(cust id) AS 'Number of Publishers' FROM publishers GROUP BY creditcode HAVING COUNT(cust id) 2 AND (city IS NOT NULL OR phone IS NOT NULL) ORDER BY creditcode; ...


SVG not supported 7:35pm Wed 28th Aug, Andre H.

Actually the reason this query can run SELECT job id, po date FROM pos WHERE po date '1990-01-03' GROUP BY job id; is Because sqlite have "bare columns" implementation in aggregation query https www.sqlite.org draft lang select.html bare columns in ...

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