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 selected article
Showing 1 of 612 articles.
Currently 116 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
3:31pm Wed 4th Sep, Adam W.

Well if the combination of attributes makes up the primary key, then it would be a composite primary key so you would show it as the key. It just also gets partially used by another table as the foreign key so it would just not be labelled as the foreign key, I wouldn't remove it as such. I found this while searching if it helps: key - a minimal set of attributes that uniquely identifies a record (or row) primary key - a single attribute that (a) cannot be null, and (b) uniquely identifies a row. composite key - two or more attributes that, taken together, uniquely identifies a record (or row) foreign key - an attribute in a table that references the primary key in another table. Can be part of a composite key. (Could also be a primary key, though this would mean the 2 entities/tables should be logically combined.) https://opentextbc.ca/dbdesign01/chapter/chapter-8-entity-relationship-model/

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