Unit 6 : Entity Relationship Model Flashcards
What ERD represents to end user?
- Represents conceptual database as viewed by end user
List out the main components of ERD’s depict database ( 3 )
- Entities
- Attributes
- Relationships
What does ER model forms?
- The basis of an ERD diagram
What does entities refer to?
- Refers to entity set and not to single entity occurence
- Table in relational environment
What models can we draw?
- Chen Models
- Crow’s Foot Models
- Chen Models are like a fan , whle Crow’s is like a foot
Do attribute have domain?
- Yes, it may also share a domain
- Domain is attribute’s set of possible values
How can we know there is primary keys in ERD?
- Underlined
What is a composite primary keys ( Composite Keys )
- Primary keys ideally comprosed of more than one attribute
Is it possible to use composite key for more than one attribute
- Yes
What can be subdivided? What can’t be subdivided? ( Composite Attribute, Simple Attribute )
- Composite Attribute
- Simple Attribute
A single-value attribute can have how many attributes?
- Single Value
A multivalued attribute can have how many attributes?
- Many Value
What are derived attributes?
- Attribute whose value may be calculated ( derived ) from other attributes
Does derived attributes needed to be physically stored within database?
- No
- It can be derived by using an algorithm
What are the advantages on stored derived attribute? ( 3 )
- Saves CPU processing cycles
- Data value is readily available
- Can be used to track of historical data