Computer Science 1032A/B Lecture Notes - Unique Key, Calendar Date, Social Insurance Number

43 views3 pages
salmonrabbit587 and 40047 others unlocked
COMPSCI 1032A/B Full Course Notes
28
COMPSCI 1032A/B Full Course Notes
Verified Note
28 documents

Document Summary

Entities: rectangles: each entity has a unique id number (primary key, name, location etc. Attributes: ovals: key attributes, uniquely identifies an entity or relationship, identified by being underlined. Relationships: diamonds: each relationship has 3 properties, attributes. Key attribute - if unique, underline (social insurance number) Write that number on top, write m for many, n= many to many. Cannot have m to m have to have m to n: participation. Example: faculty would be in a rectangle, is a chair of would be in a diamond, and department would be in a rectangle. Designing an e-r diagram: collect and review all the data. 3: decide on the relationships and draw lines between the entities, including any. Identify entities and attributes and draw them on your er diagram. Identify the key attributes and underline them on your diagram attributes of the relationships: decide on the cardinality of each relationship and add it to the diagram.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents