It's UWAweek 42 (2nd semester, week 12)

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 the 2 articles in this topic
Showing 2 of 612 articles.
Currently 120 other people reading this forum.


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

Login to reply

👍?
helpful
3:41pm Mon 9th Sep, Tuan H.

Hi all, I'm confused about formatting the answer. If there are subclasses (a1 and a2) in an entity(A), should I demonstrate them in the "Attribute Data Dictionary" workbook as 2 entities (a1 with attributes x1, y1, and a2 with z2, v2), or do I have to include all the attributes of two subclasses entities in the main entity (A includes x1, y1, z2, v2). Furthermore, regarding the composite primary key, I acknowledged that FK is not allowed in the conceptual model, but I need two attributes from different tables to make a composite key. Am I allowed to do so? If yes, should I demonstrate it as a Composite key(a,b,c) or as a normal attribute a{PK}, b{PK}, c{PK}.


SVG not supported

Login to reply

👍?
helpful
4:30pm Mon 9th Sep, Jichunyang L.

"Tuan Hoang" [email protected] wrote:

Hi all, I'm confused about formatting the answer. If there are subclasses (a1 and a2) in an entity(A), should I demonstrate them in the "Attribute Data Dictionary" workbook as 2 entities (a1 with attributes x1, y1, and a2 with z2, v2), or do I have to include all the attributes of two subclasses entities in the main entity (A includes x1, y1, z2, v2).

**You can include superclasses and subclasses separately in the workbook.

Furthermore, regarding the composite primary key, I acknowledged that FK is not allowed in the conceptual model, but I need two attributes from different tables to make a composite key. Am I allowed to do so? If yes, should I demonstrate it as a Composite key(a,b,c) or as a normal attribute a{PK}, b{PK}, c{PK}.

You can use normal attributes as you mentioned above.

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